Files
orca/config/oxlint-code-quality.json
T
Neil 12ef12c55b chore(quality): ratchet Oxlint, React Doctor, and Zustand performance (#11034)
* chore(quality): ratchet lint and Zustand performance

* fix(ci): stabilize React peer lock snapshot

* fix(ci): isolate PR diff and React Doctor CLI
2026-07-27 18:58:36 -07:00

72 lines
2.1 KiB
JSON

{
"$schema": "../node_modules/oxlint/configuration_schema.json",
"plugins": ["import", "jsx-a11y", "promise", "react", "react-hooks", "typescript", "vitest"],
"categories": {
"correctness": "off",
"suspicious": "off",
"pedantic": "off",
"perf": "off",
"style": "off",
"restriction": "off",
"nursery": "off"
},
"options": {
"reportUnusedDisableDirectives": "warn"
},
"jsPlugins": [
{
"name": "app-store-performance",
"specifier": "./oxlint-plugins/app-store-performance.mjs"
}
],
"rules": {
"app-store-performance/require-selector": "warn",
"app-store-performance/no-identity-selector": "warn",
"app-store-performance/no-fresh-selector-result": "warn",
"import/export": "warn",
"import/named": "warn",
"import/namespace": "warn",
"import/no-cycle": ["warn", { "maxDepth": 3 }],
"import/no-duplicates": "warn",
"import/no-self-import": "warn",
"max-params": ["warn", 5],
"no-fallthrough": "warn",
"no-loop-func": "warn",
"no-promise-executor-return": "warn",
"no-unmodified-loop-condition": "warn",
"preserve-caught-error": "warn",
"promise/no-multiple-resolved": "warn",
"react/no-unstable-nested-components": "warn",
"react/react-compiler": "warn"
},
"overrides": [
{
"files": ["src/renderer/src/**/*.{ts,tsx}"],
"rules": {
"jsx-a11y/alt-text": "warn",
"jsx-a11y/anchor-has-content": "warn",
"jsx-a11y/aria-props": "warn",
"jsx-a11y/aria-role": "warn",
"jsx-a11y/click-events-have-key-events": "warn"
}
},
{
"files": ["**/*.{test,spec}.{ts,tsx}", "tests/**/*.{ts,tsx}"],
"rules": {
"vitest/no-conditional-tests": "warn",
"vitest/no-focused-tests": "warn",
"vitest/no-identical-title": "warn",
"vitest/valid-expect": "warn",
"vitest/valid-title": "warn"
}
},
{
"files": ["mobile/**/*.{ts,tsx}"],
"rules": {
"react-hooks/exhaustive-deps": "warn"
}
}
],
"ignorePatterns": ["**/node_modules", "**/dist", "**/out"]
}