New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update CLI documentation for ng lint with eslint #19638
Update CLI documentation for ng lint with eslint #19638
Comments
The docs for |
Let me mark this for further discussion with the reset of the team. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
📚 Docs or angular.io bug report
Description
After migrating a project from TSLint to ESLint (as the CLI now recommends on the latest version if you run
ng lint
, the options for the command are now slightly different. The docs for this needs updating to reflect the changes, as personally it took me much longer than it should have to find out that after migrating,--files
no longer exists, and--lint-file-patterns
must be used in its place.🔬 Minimal Reproduction
Set up a project & follow the migration steps from the angular-eslint package for migrating
Expected vs Actual Behavior**
Expected behavior:
The docs should either be changed to reflect the options available via ESLint, or the docs should have a new section for options when using ESLint
Actual Behavior:
The docs only show information for the command if you are using TSLint
🌍 Your Environment
MacOS High Sierra
Angular 11.0.3
Angular CLI 11.0.3
The text was updated successfully, but these errors were encountered: