source: trip-planner-front/node_modules/@angular/cli/commands/lint-long.md@ 76712b2

Last change on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 640 bytes
Line 
1The command takes an optional project name, as specified in the `projects` section of the `angular.json` workspace configuration file.
2When a project name is not supplied, executes the `lint` builder for all projects.
3
4To 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).
5For example:
6
7```json
8"projects": {
9 "my-project": {
10 ...
11 "architect": {
12 ...
13 "lint": {
14 "builder": "@angular-eslint/builder:lint",
15 "options": {}
16 }
17 }
18 }
19}
20```
Note: See TracBrowser for help on using the repository browser.