xo 0.61.1 → 1.0.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/readme.md +8 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xo",
3
- "version": "0.61.1",
3
+ "version": "1.0.1",
4
4
  "description": "JavaScript/TypeScript linter (ESLint wrapper) with great defaults",
5
5
  "license": "MIT",
6
6
  "repository": "xojs/xo",
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
- --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
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
- --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()]
73
75
 
74
76
  Examples
75
77
  $ xo