oxlint 0.5.3 → 0.6.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.
- package/README.md +1 -4
- package/configuration_schema.json +23 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Boshen/oxc-assets/main/preview-dark-transparent.png" width="600">
|
|
4
|
-
<img alt="OXC Logo" src="https://raw.githubusercontent.com/Boshen/oxc-assets/main/preview-white.png" width="600">
|
|
5
|
-
</picture>
|
|
2
|
+
<img alt="OXC Logo" src="https://raw.githubusercontent.com/oxc-project/oxc-assets/main/preview-universal.png" width="600">
|
|
6
3
|
</p>
|
|
7
4
|
|
|
8
5
|
<div align="center">
|
|
@@ -23,6 +23,28 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"definitions": {
|
|
26
|
+
"AllowWarnDeny": {
|
|
27
|
+
"oneOf": [
|
|
28
|
+
{
|
|
29
|
+
"description": "Oxlint rule.\n- \"allow\" or \"off\": Turn off the rule.\n- \"warn\": Turn the rule on as a warning (doesn't affect exit code).\n- \"error\" or \"deny\": Turn the rule on as an error (will exit with a failure code).",
|
|
30
|
+
"type": "string",
|
|
31
|
+
"enum": [
|
|
32
|
+
"allow",
|
|
33
|
+
"off",
|
|
34
|
+
"warn",
|
|
35
|
+
"error",
|
|
36
|
+
"deny"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"description": "Oxlint rule.\n \n- 0: Turn off the rule.\n- 1: Turn the rule on as a warning (doesn't affect exit code).\n- 2: Turn the rule on as an error (will exit with a failure code).",
|
|
41
|
+
"type": "integer",
|
|
42
|
+
"format": "uint32",
|
|
43
|
+
"maximum": 2.0,
|
|
44
|
+
"minimum": 0.0
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
26
48
|
"CustomComponent": {
|
|
27
49
|
"anyOf": [
|
|
28
50
|
{
|
|
@@ -66,12 +88,7 @@
|
|
|
66
88
|
"DummyRule": {
|
|
67
89
|
"anyOf": [
|
|
68
90
|
{
|
|
69
|
-
"
|
|
70
|
-
"format": "uint",
|
|
71
|
-
"minimum": 0.0
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"type": "string"
|
|
91
|
+
"$ref": "#/definitions/AllowWarnDeny"
|
|
75
92
|
},
|
|
76
93
|
{
|
|
77
94
|
"type": "array",
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"oxlint","version":"0.
|
|
1
|
+
{"name":"oxlint","version":"0.6.1","description":"Linter for the JavaScript Oxidation Compiler","keywords":[],"author":"Boshen and oxc contributors","license":"MIT","homepage":"https://oxc.rs","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","bin/oxc_language_server","configuration_schema.json","README.md"],"optionalDependencies":{"@oxlint/win32-x64":"0.6.1","@oxlint/win32-arm64":"0.6.1","@oxlint/linux-x64-gnu":"0.6.1","@oxlint/linux-arm64-gnu":"0.6.1","@oxlint/linux-x64-musl":"0.6.1","@oxlint/linux-arm64-musl":"0.6.1","@oxlint/darwin-x64":"0.6.1","@oxlint/darwin-arm64":"0.6.1"}}
|