xo 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/readme.md +8 -6
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -59,17 +59,19 @@ $ xo --help
|
|
|
59
59
|
Options
|
|
60
60
|
--fix Automagically fix issues
|
|
61
61
|
--reporter Reporter to use
|
|
62
|
-
--ignore Ignore pattern globs, can be set multiple times
|
|
63
62
|
--space Use space indent instead of tabs [Default: 2]
|
|
64
|
-
--
|
|
65
|
-
--
|
|
66
|
-
--react Include React
|
|
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
|
|
67
69
|
--open Open files with issues in your editor
|
|
68
70
|
--quiet Show only errors and no warnings
|
|
69
|
-
--cwd=<dir> Working directory for files
|
|
70
71
|
--stdin Validate/fix code from stdin
|
|
71
72
|
--stdin-filename Specify a filename for the --stdin option
|
|
72
|
-
--
|
|
73
|
+
--ignore Ignore pattern globs, can be set multiple times
|
|
74
|
+
--cwd=<dir> Working directory for files [Default: process.cwd()]
|
|
73
75
|
|
|
74
76
|
Examples
|
|
75
77
|
$ xo
|