All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.src.commands.lint.long-description.md Maven / Gradle / Ivy

There is a newer version: 19.0.0
Show newest version
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 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](tools/cli/cli-builder).
For example:

```json
"projects": {
  "my-project": {
    ...
    "architect": {
      ...
      "lint": {
        "builder": "@angular-eslint/builder:lint",
        "options": {}
      }
    }
  }
}
```




© 2015 - 2024 Weber Informatics LLC | Privacy Policy