oxlint 0.7.0 → 0.7.2
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"title": "OxlintConfig",
|
|
4
|
-
"description": "Oxlint Configuration File\n\nThis configuration is aligned with ESLint v8's configuration schema (`eslintrc.json`).\n\nUsage: `oxlint -c oxlintrc.json`\n\n::: danger NOTE\n\nOnly the `.json` format is supported.\n\n:::\n\nExample\n\n`.oxlintrc.json`\n\n```json { \"env\": { \"browser\": true }, \"globals\": { \"foo\": \"readonly\" }, \"settings\": { }, \"rules\": { \"eqeqeq\": \"warn\" } } ```",
|
|
4
|
+
"description": "Oxlint Configuration File\n\nThis configuration is aligned with ESLint v8's configuration schema (`eslintrc.json`).\n\nUsage: `oxlint -c oxlintrc.json`\n\n::: danger NOTE\n\nOnly the `.json` format is supported. You can use comments in configuration files.\n\n:::\n\nExample\n\n`.oxlintrc.json`\n\n```json { \"env\": { \"browser\": true }, \"globals\": { \"foo\": \"readonly\" }, \"settings\": { }, \"rules\": { \"eqeqeq\": \"warn\" } } ```",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"env": {
|
|
@@ -96,6 +96,13 @@
|
|
|
96
96
|
}
|
|
97
97
|
]
|
|
98
98
|
},
|
|
99
|
+
"DummyRuleMap": {
|
|
100
|
+
"description": "See [Oxlint Rules](./rules)",
|
|
101
|
+
"type": "object",
|
|
102
|
+
"additionalProperties": {
|
|
103
|
+
"$ref": "#/definitions/DummyRule"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
99
106
|
"GlobalValue": {
|
|
100
107
|
"type": "string",
|
|
101
108
|
"enum": [
|
|
@@ -204,10 +211,7 @@
|
|
|
204
211
|
}
|
|
205
212
|
},
|
|
206
213
|
"OxlintRules": {
|
|
207
|
-
"
|
|
208
|
-
"additionalProperties": {
|
|
209
|
-
"$ref": "#/definitions/DummyRule"
|
|
210
|
-
}
|
|
214
|
+
"$ref": "#/definitions/DummyRuleMap"
|
|
211
215
|
},
|
|
212
216
|
"OxlintSettings": {
|
|
213
217
|
"description": "Shared settings for plugins",
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"oxlint","version":"0.7.
|
|
1
|
+
{"name":"oxlint","version":"0.7.2","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.7.2","@oxlint/win32-arm64":"0.7.2","@oxlint/linux-x64-gnu":"0.7.2","@oxlint/linux-arm64-gnu":"0.7.2","@oxlint/linux-x64-musl":"0.7.2","@oxlint/linux-arm64-musl":"0.7.2","@oxlint/darwin-x64":"0.7.2","@oxlint/darwin-arm64":"0.7.2"}}
|