ng-lint
Check Angular project code for style and errors using the configured linter. tldr-pages
On several platforms
Several platforms
Check Angular project code for style and errors using the configured linter. Note: Linting requires setup via ng add.
Lint all projects in the workspace
ng lintIdentifyLint a specific project
ng lint project_nameIdentifyAutomatically fix linting errors
ng lint project_name --fixIdentifyReturn a successful exit code even if lint errors are found
ng lint project_name --forceIdentifyUse a specific output format
ng lint project_name --format stylishIdentify