{ "$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json", "categories": { "correctness": "error", "suspicious": "warn", "perf": "warn", "pedantic": "off", "style": "off", "restriction": "off", "nursery": "off" }, "rules": { "no-unused-vars": "error", "no-console": "warn", "no-debugger": "error", "no-duplicate-imports": "error", "eqeqeq": "warn", "typescript/no-explicit-any": "warn", "typescript/no-non-null-assertion": "warn", "import/no-duplicates": "error", "import/no-self-import": "error", "unicorn/no-null": "off", "unicorn/prefer-node-protocol": "error" }, "overrides": [ { "files": ["**/*.tsx", "**/*.jsx"], "rules": { "react/jsx-no-duplicate-props": "error", "react/no-direct-mutation-state": "error", "react/jsx-key": "error", "react-hooks/rules-of-hooks": "error", "react-hooks/exhaustive-deps": "warn" } }, { "files": ["**/*.test.ts", "**/*.test.tsx", "**/*.spec.ts"], "rules": { "no-console": "off", "typescript/no-explicit-any": "off" } } ], "ignorePatterns": [ "node_modules", "build", "dist", "release", "*.min.js", "docs/.vitepress/cache", "docs/.vitepress/dist" ] }