ng-lint: add page (#20605)

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Adriano Inghingolo <68734231+SpikeTheDragon40k@users.noreply.github.com>
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
This commit is contained in:
arpit-source
2026-01-22 15:44:24 +05:30
committed by GitHub
parent adf9d7486a
commit a9564eeda5
+25
View File
@@ -0,0 +1,25 @@
# ng lint
> Check Angular project code for style and errors using the configured linter.
> Note: Linting requires setup via `ng add`.
> More information: <https://angular.dev/cli/lint>.
- Lint all projects in the workspace:
`ng lint`
- Lint a specific project:
`ng lint {{project_name}}`
- Automatically fix linting errors:
`ng lint {{project_name}} --fix`
- Return a successful exit code even if lint errors are found:
`ng lint {{project_name}} --force`
- Use a specific output format:
`ng lint {{project_name}} --format {{stylish|json|...}}`