oxlint 0.0.15 → 0.0.17
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/README.md +8 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
[discord-badge]: https://img.shields.io/discord/1079625926024900739?logo=discord&label=Discord
|
|
19
19
|
[discord-url]: https://discord.gg/9uXCAwqQZW
|
|
20
20
|
[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg
|
|
21
|
-
[license-url]:
|
|
21
|
+
[license-url]: https://github.com/web-infra-dev/oxc/blob/main/LICENSE
|
|
22
22
|
[ci-badge]: https://github.com/web-infra-dev/oxc/actions/workflows/ci.yml/badge.svg?event=push&branch=main
|
|
23
23
|
[ci-url]: https://github.com/web-infra-dev/oxc/actions/workflows/ci.yml?query=event%3Apush+branch%3Amain
|
|
24
24
|
[npm-badge]: https://img.shields.io/npm/v/oxlint/latest?color=brightgreen
|
|
@@ -44,8 +44,8 @@ This is the linter for oxc.
|
|
|
44
44
|
|
|
45
45
|
Run
|
|
46
46
|
|
|
47
|
-
* `npx --yes oxlint@latest
|
|
48
|
-
* `npx oxlint@latest
|
|
47
|
+
* `npx --yes oxlint@latest` in your JavaScript / TypeScript codebase and see it complete in milliseconds. No configurations are required.
|
|
48
|
+
* `npx oxlint@latest --help` for usage instructions.
|
|
49
49
|
* `npx oxlint@latest --rules` for the list of rules.
|
|
50
50
|
|
|
51
51
|
|
|
@@ -64,6 +64,11 @@ Allowing / Denying Multiple Lints
|
|
|
64
64
|
-A, --allow=NAME Allow the rule or category (suppress the lint)
|
|
65
65
|
-D, --deny=NAME Deny the rule or category (emit an error)
|
|
66
66
|
|
|
67
|
+
Enable Plugins
|
|
68
|
+
--import-plugin Enable the experimental import plugin and detect ESM problems
|
|
69
|
+
--jest-plugin Enable the Jest plugin and detect test problems
|
|
70
|
+
--jsx-a11y-plugin Enable the JSX-a11y plugin and detect accessibility problems
|
|
71
|
+
|
|
67
72
|
Fix Problems
|
|
68
73
|
--fix Fix as many issues as possible. Only unfixed issues are reported in the
|
|
69
74
|
output
|
|
@@ -93,6 +98,5 @@ Available positional items:
|
|
|
93
98
|
PATH Single file, single path or list of paths
|
|
94
99
|
|
|
95
100
|
Available options:
|
|
96
|
-
--import-plugin Use the experimental import plugin and detect ESM problems
|
|
97
101
|
-h, --help Prints help information
|
|
98
102
|
```
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"oxlint","version":"0.0.
|
|
1
|
+
{"name":"oxlint","version":"0.0.17","description":"Linter for the JavaScript Oxidation Compiler","keywords":[],"author":"Boshen and oxc contributors","license":"MIT","homepage":"https://github.com/web-infra-dev/oxc","bugs":"https://github.com/web-infra-dev/oxc/issues","repository":{"type":"git","url":"https://github.com/web-infra-dev/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.0.17","@oxlint/win32-arm64":"0.0.17","@oxlint/darwin-x64":"0.0.17","@oxlint/darwin-arm64":"0.0.17","@oxlint/linux-x64":"0.0.17","@oxlint/linux-arm64":"0.0.17"}}
|