aboutsummaryrefslogtreecommitdiffstats
path: root/tooling/oxlint
diff options
context:
space:
mode:
Diffstat (limited to 'tooling/oxlint')
-rw-r--r--tooling/oxlint/oxlint-base.json17
-rw-r--r--tooling/oxlint/oxlint-react.json4
2 files changed, 4 insertions, 17 deletions
diff --git a/tooling/oxlint/oxlint-base.json b/tooling/oxlint/oxlint-base.json
index 557afe00..83ae8634 100644
--- a/tooling/oxlint/oxlint-base.json
+++ b/tooling/oxlint/oxlint-base.json
@@ -2,7 +2,9 @@
"$schema": "../../node_modules/oxlint/configuration_schema.json",
"plugins": [
"typescript",
- "import"
+ "import",
+ "unicorn",
+ "oxc"
],
"rules": {
"for-direction": "error",
@@ -108,20 +110,7 @@
{
"files": ["**/*"],
"rules": {
- "no-class-assign": "off",
- "no-const-assign": "off",
- "no-dupe-class-members": "off",
- "no-dupe-keys": "off",
- "no-func-assign": "off",
- "no-import-assign": "off",
- "no-new-native-nonconstructor": "off",
- "no-obj-calls": "off",
- "no-redeclare": "off",
- "no-setter-return": "off",
- "no-this-before-super": "off",
- "no-unsafe-negation": "off",
"no-var": "error",
- "no-with": "off",
"prefer-rest-params": "error",
"prefer-spread": "error"
}
diff --git a/tooling/oxlint/oxlint-react.json b/tooling/oxlint/oxlint-react.json
index dd5c4c01..a2dede89 100644
--- a/tooling/oxlint/oxlint-react.json
+++ b/tooling/oxlint/oxlint-react.json
@@ -5,7 +5,6 @@
"jsx-a11y"
],
"rules": {
- "react/prop-types": "off",
"react/jsx-key": "warn",
"react/jsx-no-comment-textnodes": "warn",
"react/jsx-no-duplicate-props": "warn",
@@ -20,7 +19,6 @@
"react/no-string-refs": "warn",
"react/no-unescaped-entities": "warn",
"react/no-unknown-property": "warn",
- "react/react-in-jsx-scope": "off",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "off",
"jsx-a11y/alt-text": "error",
@@ -54,7 +52,7 @@
}
],
"jsx-a11y/no-redundant-roles": "error",
- "jsx-a11y/role-has-required-aria-props": "warn",
+ "jsx-a11y/role-has-required-aria-props": "off",
"jsx-a11y/role-supports-aria-props": "error",
"jsx-a11y/scope": "error",
"jsx-a11y/tabindex-no-positive": "error"