@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/configuration/projectjson#targets.
Options
cache
falseOnly check changed files.
cacheLocation
Path to the cache file or directory.
cacheStrategy
metadatametadata, contentStrategy to use for detecting changed files in the cache.
eslintConfig
The name of the ESLint configuration file.
format
stylishESLint Output formatter (https://eslint.org/docs/user-guide/formatters).
force
falseSucceeds even if there was linting errors.
fix
falseFixes linting errors (may overwrite linted files).
hasTypeAwareRules
When set to true, the linter will invalidate its cache when any of its dependencies changes.
ignorePath
The path of the .eslintignore file.
lintFilePatterns
[]One or more files/dirs/globs to pass directly to ESLint's lintFiles() method.
maxWarnings
-1Number of warnings to trigger nonzero exit code - default: -1.
noEslintrc
falseThe equivalent of the --no-eslintrc flag on the ESLint CLI, it is false by default.
outputFile
File to write report to.
quiet
falseReport errors only - default: false.
rulesdir
[]The equivalent of the --rulesdir flag on the ESLint CLI.
resolvePluginsRelativeTo
The equivalent of the --resolve-plugins-relative-to flag on the ESLint CLI.
silent
falseHide output text.