Skip to content

Commit

Permalink
docs: update the description of the lint command
Browse files Browse the repository at this point in the history
Update the description of the lint command for when a project name is not provided.

Closes #21619

(cherry picked from commit 9c62ddc)
  • Loading branch information
TrevorKarjanis authored and filipesilva committed Aug 23, 2021
1 parent 38de352 commit 97ea4c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/angular/cli/commands/lint-long.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
The command takes an optional project name, as specified in the `projects` section of the `angular.json` workspace configuration file.
When a project name is not supplied, executes the `lint` builder for the default project.
When a project name is not supplied, executes the `lint` builder for all projects.

To use the `ng lint` command, use `ng add` to add a package that implements linting capabilities. Adding the package automatically updates your workspace configuration, adding a lint [CLI builder](guide/cli-builder).
For example:
Expand Down

0 comments on commit 97ea4c1

Please sign in to comment.