@nrwl/linter:lint
Linter.
Options can be configured in project.json
when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/configuration/projectjson#targets.
Options
config
The name of the configuration file.
cache
false
Only check changed files.
cacheLocation
Path to the cache file or directory.
exclude
Files to exclude from linting.
format
stylish
ESLint Output formatter (https://eslint.org/docs/user-guide/formatters).
files
Files to include in linting.
force
false
Succeeds even if there was linting errors.
fix
false
Fixes linting errors (may overwrite linted files).
linter
eslint
eslint
, tslint
The tool to use for running lint checks.
maxWarnings
-1
Number of warnings to trigger nonzero exit code - default: -1
.
outputFile
File to write report to.
quiet
false
Report errors only - default: false
.
silent
false
Hide output text.
tsConfig
The name of the TypeScript configuration file.