OptionsOn eslint itself
--no-eslintrc
Disable use of configuration from .eslintrc.*
-c--config
Use this configuration, overriding .eslintrc.* config options if present <value>
--env
Specify environments <value>
--ext
Specify JavaScript file extensions <Extension>
--global
Define global variables <Variables>
--parser
Specify the parser to be used <value>
--parser-options
Specify parser options <value>
--resolve-plugins-relative-to
A folder where plugins should be resolved from <value>
--rulesdir
Use additional rules from this directory <value>
--plugin
Specify plugins <Plugin>
--rule
Specify rules <value>
--fix
Automatically fix problems
--fix-dry-run
Automatically fix problems without saving the changes to the file system
--fix-type
Specify the types of fixes to apply <value>
--ignore-path
Specify path of ignore file <value>
--no-ignore
Disable use of ignore files and patterns
--ignore-pattern
Pattern of files to ignore (in addition to those in .eslintignore) <value>
--stdin
Lint code provided on <STDIN>
--stdin-filename
Specify filename to process STDIN as <value>
--quiet
Report errors only
--max-warnings
Number of warnings to trigger nonzero exit code <value>
-o--output-file
Specify file to write report to <value>
-f--format
Use a specific output format <value>
--color
Force enabling of color
--no-color
Force disabling of color
--no-inline-config
Prevent comments from changing config or rules
--report-unused-disable-directives
Adds reported errors for unused eslint-disable-directives
--cache
Only check changed files
--cache-location
Path to the cache file or directory <value>
--cache-strategy
Strategy to use for detecting changed files <value>
--init
Run config initialization wizard
--env-info
Output execution environment information
--no-error-on-unmatched-pattern
Prevent errors when pattern is unmatched
--debug
Output debugging information
-v--version
Output the version number
--print-config
Print the configuration for the give file <value>