Comparing version 0.3.5 to 0.4.0
@@ -1,1 +0,1 @@ | ||
{"name":"oxlint","version":"0.3.5","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.5","@oxlint/win32-arm64":"0.3.5","@oxlint/linux-x64-gnu":"0.3.5","@oxlint/linux-arm64-gnu":"0.3.5","@oxlint/linux-x64-musl":"0.3.5","@oxlint/linux-arm64-musl":"0.3.5","@oxlint/darwin-x64":"0.3.5","@oxlint/darwin-arm64":"0.3.5"}} | ||
{"name":"oxlint","version":"0.4.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","configuration_schema.json","README.md"],"optionalDependencies":{"@oxlint/win32-x64":"0.4.0","@oxlint/win32-arm64":"0.4.0","@oxlint/linux-x64-gnu":"0.4.0","@oxlint/linux-arm64-gnu":"0.4.0","@oxlint/linux-x64-musl":"0.4.0","@oxlint/linux-arm64-musl":"0.4.0","@oxlint/darwin-x64":"0.4.0","@oxlint/darwin-arm64":"0.4.0"}} |
@@ -45,68 +45,8 @@ <p align="center"> | ||
See [usage instructions](https://oxc-project.github.io/docs/guide/usage/linter.html). | ||
Run | ||
* `npx --yes oxlint@latest` in your JavaScript / TypeScript codebase and see it complete in milliseconds. No configurations are required. | ||
* `npx oxlint@latest --help` for usage instructions. | ||
* `npx oxlint@latest --help` for quick usage instructions. | ||
* `npx oxlint@latest --rules` for the list of rules. | ||
### Usage Instructions | ||
`npx oxlint@latest --help`: | ||
``` | ||
Usage: oxlint [-A=NAME | -D=NAME]... [--fix] [-c=<./eslintrc.json>] [PATH]... | ||
Allowing / Denying Multiple Lints | ||
For example `-D correctness -A no-debugger` or `-A all -D no-debugger`. | ||
The default category is "-D correctness". | ||
Use "--rules" for rule names. | ||
Use "--help --help" for rule categories. | ||
-A, --allow=NAME Allow the rule or category (suppress the lint) | ||
-D, --deny=NAME Deny the rule or category (emit an error) | ||
Enable Plugins | ||
--import-plugin Enable the experimental import plugin and detect ESM problems. It is | ||
recommended to use along side with the `--tsconfig` option. | ||
--jsdoc-plugin Enable the experimental jsdoc plugin and detect JSDoc problems | ||
--jest-plugin Enable the Jest plugin and detect test problems | ||
--jsx-a11y-plugin Enable the JSX-a11y plugin and detect accessibility problems | ||
--nextjs-plugin Enable the Next.js plugin and detect Next.js problems | ||
--react-perf-plugin Enable the React performance plugin and detect rendering performance | ||
problems | ||
Fix Problems | ||
--fix Fix as many issues as possible. Only unfixed issues are reported in | ||
the output | ||
Ignore Files | ||
--ignore-path=PATH Specify the file to use as your .eslintignore | ||
--ignore-pattern=PAT Specify patterns of files to ignore (in addition to those in | ||
.eslintignore) | ||
--no-ignore Disables excluding of files from .eslintignore files, --ignore-path | ||
flags and --ignore-pattern flags | ||
Handle Warnings | ||
--quiet Disable reporting on warnings, only errors are reported | ||
--deny-warnings Ensure warnings produce a non-zero exit code | ||
--max-warnings=INT Specify a warning threshold, which can be used to force exit with an | ||
error status if there are too many warning-level rule violations in | ||
your project | ||
Output | ||
-f, --format=ARG Use a specific output format (default, json, checkstyle, unix) | ||
Miscellaneous | ||
--threads=INT Number of threads to use. Set to 1 for using only 1 CPU core | ||
Available positional items: | ||
PATH Single file, single path or list of paths | ||
Available options: | ||
--rules list all the rules that are currently registered | ||
-c, --config=<./eslintrc.json> ESLint configuration file (experimental) | ||
--tsconfig=<./tsconfig.json> TypeScript `tsconfig.json` path for reading path alias and | ||
project references for import plugin | ||
-h, --help Prints help information | ||
-V, --version Prints version information | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
13359
4
267
52