{ "$schema": "./node_modules/oxlint/configuration_schema.json", "options": { "typeAware": true, "typeCheck": true }, "categories": { "correctness": "error", "suspicious": "warn", "perf": "warn", "style": "warn" }, "plugins": ["typescript", "react", "react-perf", "import", "unicorn", "oxc"], "rules": { "import/no-cycle": ["error", { "maxDepth": 3 }], "import/no-absolute-path": "off", "import/no-unassigned-import": "off", "import/no-named-export": "off", "import/group-exports": "off", "import/prefer-default-export": "off", "import/exports-last": "off", "import/no-nodejs-modules": "off", "react/react-in-jsx-scope": "off", "react/iframe-missing-sandbox": "off", "react/rules-of-hooks": "error", "react/jsx-no-target-blank": "error", "react-perf/jsx-no-new-function-as-prop": "off", "react-perf/jsx-no-new-object-as-prop": "off", "react-perf/jsx-no-jsx-as-prop": "off", "react-perf/jsx-no-new-array-as-prop": "off", "react/jsx-max-depth": "off", "react/jsx-props-no-spreading": "off", "react/jsx-handler-names": "off", "react/no-array-index-key": "off", "typescript/no-floating-promises": "error", "typescript/no-misused-promises": "error", "typescript/no-unsafe-type-assertion": "off", "typescript/ban-ts-comment": "warn", "typescript/no-deprecated": "warn", "typescript/prefer-nullish-coalescing": "warn", "typescript/require-await": "warn", "typescript/return-await": "warn", "unicorn/no-null": "off", "unicorn/prefer-global-this": "off", "unicorn/filename-case": "off", "unicorn/no-nested-ternary": "off", "unicorn/catch-error-name": "off", "unicorn/prefer-ternary": "off", "no-ternary": "off", "no-nested-ternary": "off", "no-magic-numbers": "off", "id-length": "off", "func-style": "off", "sort-imports": "off", "sort-keys": "off", "max-statements": "off", "max-params": "off", "prefer-destructuring": "off", "no-continue": "off", "init-declarations": "off", "curly": "off", "no-implicit-coercion": "off", "no-duplicate-imports": "off", "no-await-in-loop": "off" }, "ignorePatterns": ["*.config.*", "scripts/**"] }