eslint <command...>

Pluggable JavaScript linter


commandFile(s) to lint


--no-eslintrcDisable use of configuration from .eslintrc.*
-c,--config <command>Use this configuration, overriding .eslintrc.* config options if present
--env <command>Specify environments
--ext <command>Specify JavaScript file extensions
--global <command>Define global variables
--parser <command>Specify the parser to be used
--parser-options <command>Specify parser options
--resolve-plugins-relative-to <command>A folder where plugins should be resolved from
--rulesdir <command>Use additional rules from this directory
--plugin <command>Specify plugins
--rule <command>Specify rules
--fixAutomatically fix problems
--fix-dry-runAutomatically fix problems without saving the changes to the file system
--fix-type <command>Specify the types of fixes to apply
--ignore-path <command>Specify path of ignore file
--no-ignoreDisable use of ignore files and patterns
--ignore-pattern <command>Pattern of files to ignore (in addition to those in .eslintignore)
--stdinLint code provided on <STDIN>
--stdin-filename <command>Specify filename to process STDIN as
--quietReport errors only
--max-warnings <command>Number of warnings to trigger nonzero exit code
-o,--output-file <command>Specify file to write report to
-f,--format <command>Use a specific output format
--colorForce enabling of color
--no-colorForce disabling of color
--no-inline-configPrevent comments from changing config or rules
--report-unused-disable-directivesAdds reported errors for unused eslint-disable-directives
--cacheOnly check changed files
--cache-location <command>Path to the cache file or directory
--cache-strategy <command>Strategy to use for detecting changed files
--initRun config initialization wizard
--env-infoOutput execution environment information
--no-error-on-unmatched-patternPrevent errors when pattern is unmatched
--debugOutput debugging information
-h,--helpShow help
-v,--versionOutput the version number
--print-config <command>Print the configuration for the give file