oxlint 1.8.0 → 1.10.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.
@@ -79,7 +79,8 @@
79
79
  "default": {
80
80
  "jsx-a11y": {
81
81
  "polymorphicPropName": null,
82
- "components": {}
82
+ "components": {},
83
+ "attributes": {}
83
84
  },
84
85
  "next": {
85
86
  "rootDir": []
@@ -252,6 +253,17 @@
252
253
  "description": "Configure JSX A11y plugin rules.\n\nSee\n[eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y#configurations)'s\nconfiguration for a full reference.",
253
254
  "type": "object",
254
255
  "properties": {
256
+ "attributes": {
257
+ "description": "Map of attribute names to their DOM equivalents.\nThis is useful for non-React frameworks that use different attribute names.\n\nExample:\n\n```json\n{\n\"settings\": {\n\"jsx-a11y\": {\n\"attributes\": {\n\"for\": [\"htmlFor\", \"for\"]\n}\n}\n}\n}\n```",
258
+ "default": {},
259
+ "type": "object",
260
+ "additionalProperties": {
261
+ "type": "array",
262
+ "items": {
263
+ "type": "string"
264
+ }
265
+ }
266
+ },
255
267
  "components": {
256
268
  "description": "To have your custom components be checked as DOM elements, you can\nprovide a mapping of your component names to the DOM element name.\n\nExample:\n\n```json\n{\n\"settings\": {\n\"jsx-a11y\": {\n\"components\": {\n\"Link\": \"a\",\n\"IconButton\": \"button\"\n}\n}\n}\n}\n```",
257
269
  "default": {},
@@ -285,7 +297,9 @@
285
297
  "nextjs",
286
298
  "react-perf",
287
299
  "promise",
288
- "node"
300
+ "node",
301
+ "regex",
302
+ "vue"
289
303
  ]
290
304
  },
291
305
  "LintPlugins": {
@@ -468,7 +482,8 @@
468
482
  "jsx-a11y": {
469
483
  "default": {
470
484
  "polymorphicPropName": null,
471
- "components": {}
485
+ "components": {},
486
+ "attributes": {}
472
487
  },
473
488
  "allOf": [
474
489
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxlint",
3
- "version": "1.8.0",
3
+ "version": "1.10.0",
4
4
  "description": "Linter for the JavaScript Oxidation Compiler",
5
5
  "keywords": [],
6
6
  "author": "Boshen and oxc contributors",
@@ -29,13 +29,13 @@
29
29
  "README.md"
30
30
  ],
31
31
  "optionalDependencies": {
32
- "@oxlint/win32-x64": "1.8.0",
33
- "@oxlint/win32-arm64": "1.8.0",
34
- "@oxlint/linux-x64-gnu": "1.8.0",
35
- "@oxlint/linux-arm64-gnu": "1.8.0",
36
- "@oxlint/linux-x64-musl": "1.8.0",
37
- "@oxlint/linux-arm64-musl": "1.8.0",
38
- "@oxlint/darwin-x64": "1.8.0",
39
- "@oxlint/darwin-arm64": "1.8.0"
32
+ "@oxlint/win32-x64": "1.10.0",
33
+ "@oxlint/win32-arm64": "1.10.0",
34
+ "@oxlint/linux-x64-gnu": "1.10.0",
35
+ "@oxlint/linux-arm64-gnu": "1.10.0",
36
+ "@oxlint/linux-x64-musl": "1.10.0",
37
+ "@oxlint/linux-arm64-musl": "1.10.0",
38
+ "@oxlint/darwin-x64": "1.10.0",
39
+ "@oxlint/darwin-arm64": "1.10.0"
40
40
  }
41
41
  }