mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
a9564eeda5
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>
555 B
555 B
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|...}}