oxlint 0.2.17 → 0.3.0

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/README.md +24 -18
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -54,7 +54,7 @@ Run
54
54
  `npx oxlint@latest --help`:
55
55
 
56
56
  ```
57
- Usage: oxlint [-A=NAME | -D=NAME]... [--fix] [PATH]...
57
+ Usage: oxlint [-A=NAME | -D=NAME]... [--fix] [-c=<./eslintrc.json>] [PATH]...
58
58
 
59
59
  Allowing / Denying Multiple Lints
60
60
  For example `-D correctness -A no-debugger` or `-A all -D no-debugger`.
@@ -65,41 +65,47 @@ Allowing / Denying Multiple Lints
65
65
  -D, --deny=NAME Deny the rule or category (emit an error)
66
66
 
67
67
  Enable Plugins
68
- --import-plugin Enable the experimental import plugin and detect ESM problems
68
+ --import-plugin Enable the experimental import plugin and detect ESM problems. It is
69
+ recommended to use along side with the `--tsconfig` option.
70
+ --jsdoc-plugin Enable the experimental jsdoc plugin and detect JSDoc problems
69
71
  --jest-plugin Enable the Jest plugin and detect test problems
70
72
  --jsx-a11y-plugin Enable the JSX-a11y plugin and detect accessibility problems
71
73
  --nextjs-plugin Enable the Next.js plugin and detect Next.js problems
72
- --react-perf-plugin Enable the React performance plugin and detect rendering performance problems
73
-
74
+ --react-perf-plugin Enable the React performance plugin and detect rendering performance
75
+ problems
74
76
 
75
77
  Fix Problems
76
- --fix Fix as many issues as possible. Only unfixed issues are reported in the
77
- output
78
+ --fix Fix as many issues as possible. Only unfixed issues are reported in
79
+ the output
78
80
 
79
81
  Ignore Files
80
82
  --ignore-path=PATH Specify the file to use as your .eslintignore
81
- --ignore-pattern=PAT Specify patterns of files to ignore (in addition to those in .eslintignore)
82
- --no-ignore Disables excluding of files from .eslintignore files, --ignore-path flags
83
- and --ignore-pattern flags
83
+ --ignore-pattern=PAT Specify patterns of files to ignore (in addition to those in
84
+ .eslintignore)
85
+ --no-ignore Disables excluding of files from .eslintignore files, --ignore-path
86
+ flags and --ignore-pattern flags
84
87
 
85
88
  Handle Warnings
86
89
  --quiet Disable reporting on warnings, only errors are reported
87
- --max-warnings=INT Specify a warning threshold, which can be used to force exit with an error
88
- status if there are too many warning-level rule violations in your project
90
+ --deny-warnings Ensure warnings produce a non-zero exit code
91
+ --max-warnings=INT Specify a warning threshold, which can be used to force exit with an
92
+ error status if there are too many warning-level rule violations in
93
+ your project
94
+
95
+ Output
96
+ -f, --format=ARG Use a specific output format (default, json)
89
97
 
90
98
  Miscellaneous
91
- --timing Display the execution time of each lint rule
92
- [env:TIMING: not set]
93
- --rules list all the rules that are currently registered
94
99
  --threads=INT Number of threads to use. Set to 1 for using only 1 CPU core
95
100
 
96
- Codeowners
97
- --codeowners-file=PATH Path to CODEOWNERS file
98
- --codeowners=NAME Code owner names, e.g. @Boshen
99
-
100
101
  Available positional items:
101
102
  PATH Single file, single path or list of paths
102
103
 
103
104
  Available options:
105
+ --rules list all the rules that are currently registered
106
+ -c, --config=<./eslintrc.json> ESLint configuration file (experimental)
107
+ --tsconfig=<./tsconfig.json> TypeScript `tsconfig.json` path for reading path alias and
108
+ project references for import plugin
104
109
  -h, --help Prints help information
110
+ -V, --version Prints version information
105
111
  ```
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"oxlint","version":"0.2.17","description":"Linter for the JavaScript Oxidation Compiler","keywords":[],"author":"Boshen and oxc contributors","license":"MIT","homepage":"https://oxc-project.github.io","bugs":"https://github.com/oxc-project/oxc/issues","repository":{"type":"git","url":"https://github.com/oxc-project/oxc","directory":"npm/oxlint"},"bin":"bin/oxlint","funding":{"url":"https://github.com/sponsors/Boshen"},"engines":{"node":">=14.*"},"files":["bin/oxlint","README.md"],"optionalDependencies":{"@oxlint/win32-x64":"0.2.17","@oxlint/win32-arm64":"0.2.17","@oxlint/linux-x64-gnu":"0.2.17","@oxlint/linux-arm64-gnu":"0.2.17","@oxlint/linux-x64-musl":"0.2.17","@oxlint/linux-arm64-musl":"0.2.17","@oxlint/darwin-x64":"0.2.17","@oxlint/darwin-arm64":"0.2.17"}}
1
+ {"name":"oxlint","version":"0.3.0","description":"Linter for the JavaScript Oxidation Compiler","keywords":[],"author":"Boshen and oxc contributors","license":"MIT","homepage":"https://oxc-project.github.io","bugs":"https://github.com/oxc-project/oxc/issues","repository":{"type":"git","url":"https://github.com/oxc-project/oxc","directory":"npm/oxlint"},"bin":"bin/oxlint","funding":{"url":"https://github.com/sponsors/Boshen"},"engines":{"node":">=14.*"},"files":["bin/oxlint","README.md"],"optionalDependencies":{"@oxlint/win32-x64":"0.3.0","@oxlint/win32-arm64":"0.3.0","@oxlint/linux-x64-gnu":"0.3.0","@oxlint/linux-arm64-gnu":"0.3.0","@oxlint/linux-x64-musl":"0.3.0","@oxlint/linux-arm64-musl":"0.3.0","@oxlint/darwin-x64":"0.3.0","@oxlint/darwin-arm64":"0.3.0"}}