1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2025-09-11 23:09:27 +02:00

Compare commits

..

1 Commits

Author SHA1 Message Date
6f42dbcdbe fix: relax jsx-a11y rules in .oxlintrc.json 2025-08-28 12:41:17 +02:00

View File

@@ -1,6 +1,6 @@
{ {
"$schema": "./node_modules/oxlint/configuration_schema.json", "$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "unicorn", "react", "oxc", "jsx-a11y", "promise"], "plugins": ["typescript", "unicorn", "react", "oxc", "promise"],
"categories": { "categories": {
"correctness": "error", "correctness": "error",
"perf": "error", "perf": "error",
@@ -192,6 +192,7 @@
"unicorn/no-unnecessary-array-flat-depth": "error", "unicorn/no-unnecessary-array-flat-depth": "error",
"unicorn/consistent-assert": "error", "unicorn/consistent-assert": "error",
"unicorn/no-accessor-recursion": "error", "unicorn/no-accessor-recursion": "error",
"react/no-array-index-key": "off",
"react-hooks/rules-of-hooks": "error", "react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error", "react-hooks/exhaustive-deps": "error",
"react/jsx-key": "error", "react/jsx-key": "error",
@@ -295,7 +296,7 @@
} }
], ],
"@typescript-eslint/no-base-to-string": "error", "@typescript-eslint/no-base-to-string": "error",
"@typescript-eslint/no-dynamic-delete": "error", "@typescript-eslint/no-dynamic-delete": "off",
"@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-extra-non-null-assertion": "error",
"@typescript-eslint/no-redundant-type-constituents": "error", "@typescript-eslint/no-redundant-type-constituents": "error",
"@typescript-eslint/no-extraneous-class": [ "@typescript-eslint/no-extraneous-class": [