757 B
757 B
lint
Lint a project
Builder properties can be configured in angular.json when defining the builder, or when invoking it.
Properties
config
Type: string
The name of the configuration file.
exclude
Type: array
Files to exclude from linting.
files
Type: array
Files to include in linting.
fix
Default: false
Type: boolean
Fixes linting errors (may overwrite linted files).
format
Default: prose
Type: string
Output format (prose, json, stylish, verbose, pmd, msbuild, checkstyle, vso, fileslist).
linter
Default: tslint
Type: string
Possible values: eslint, tslint
The tool to use for running lint checks.
tsConfig
Type: string
The name of the TypeScript configuration file.