diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-06-22 12:38:24 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-06-22 12:38:24 +0000 |
| commit | f7b31938159274443a288416fadf771c67640fba (patch) | |
| tree | c98793a22d92583f62ee08a4bba47bb29f0012d0 /tooling | |
| parent | d5e2973dce617f451e4eb07491b3a6874ea6ca47 (diff) | |
| download | karakeep-f7b31938159274443a288416fadf771c67640fba.tar.zst | |
chore: More oxlint changes
Diffstat (limited to 'tooling')
| -rw-r--r-- | tooling/oxlint/oxlint-base.json | 17 | ||||
| -rw-r--r-- | tooling/oxlint/oxlint-react.json | 4 |
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" |
