File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,12 +21,14 @@ const cli = meow(
2121 --fix Automagically fix issues
2222 --reporter Reporter to use
2323 --space Use space indent instead of tabs [Default: 2]
24+ --config Path to a XO configuration file
2425 --semicolon Use semicolons [Default: true]
25- --prettier Conform to Prettier code style [Default: false]
2626 --react Include React specific parsing and xo-react linting rules [Default: false]
2727 --prettier Format with prettier or turn off prettier conflicted rules when set to 'compat' [Default: false]
2828 --print-config Print the effective ESLint config for the given file
29+ --version Print XO version
2930 --open Open files with issues in your editor
31+ --quiet Show only errors and no warnings
3032 --stdin Validate/fix code from stdin
3133 --stdin-filename Specify a filename for the --stdin option
3234 --ignore Ignore pattern globs, can be set multiple times
Original file line number Diff line number Diff line change @@ -59,17 +59,19 @@ $ xo --help
5959 Options
6060 --fix Automagically fix issues
6161 --reporter Reporter to use
62- --ignore Ignore pattern globs, can be set multiple times
6362 --space Use space indent instead of tabs [Default: 2]
64- --no-semicolon Prevent use of semicolons
65- --prettier Conform to Prettier code style or turn off conflicting rules
66- --react Include React plugins and xo-react linting rules [Default: false]
63+ --config Path to a XO configuration file
64+ --semicolon Use semicolons [Default: true]
65+ --react Include React specific parsing and xo-react linting rules [Default: false]
66+ --prettier Format with prettier or turn off prettier conflicted rules when set to 'compat' [Default: false]
67+ --print-config Print the effective ESLint config for the given file
68+ --version Print XO version
6769 --open Open files with issues in your editor
6870 --quiet Show only errors and no warnings
69- --cwd=<dir> Working directory for files
7071 --stdin Validate/fix code from stdin
7172 --stdin-filename Specify a filename for the --stdin option
72- --print-config Print the ESLint configuration for the given file
73+ --ignore Ignore pattern globs, can be set multiple times
74+ --cwd=<dir> Working directory for files [Default: process.cwd()]
7375
7476 Examples
7577 $ xo
You can’t perform that action at this time.
0 commit comments