mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2025-09-11 23:09:27 +02:00
fix: relax jsx-a11y rules in .oxlintrc.json
This commit is contained in:
@@ -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": [
|
||||||
|
Reference in New Issue
Block a user