@nrwl/linter:eslint
ESLint Lint Target.
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/reference/project-configuration#targets.
ESLint Lint Target.
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/reference/project-configuration#targets.
false
Only check changed files.
Path to the cache file or directory.
metadata
metadata
, content
Strategy to use for detecting changed files in the cache.
The name of the ESLint configuration file.
stylish
ESLint Output formatter (https://eslint.org/docs/user-guide/formatters).
false
Succeeds even if there was linting errors.
false
Fixes linting errors (may overwrite linted files).
When set to true
, the linter will invalidate its cache when any of its dependencies changes.
The path of the .eslintignore
file.
[]
One or more files/dirs/globs to pass directly to ESLint's lintFiles()
method.
-1
Number of warnings to trigger nonzero exit code - default: -1
.
false
The equivalent of the --no-eslintrc
flag on the ESLint CLI, it is false
by default.
File to write report to.
false
Report errors only - default: false
.
[]
The equivalent of the --rulesdir
flag on the ESLint CLI.
The equivalent of the --resolve-plugins-relative-to
flag on the ESLint CLI.
off
off
, warn
, error
The equivalent of the --report-unused-disable-directives
flag on the ESLint CLI.
false
Hide output text.