mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 00:02:31 +00:00
Consolidate standalone code-quality scanners into Oxlint, preserve focused native/type-aware enforcement, add custom plugin coverage, and harden deferred PTY test cleanup.
32 lines
779 B
JSON
32 lines
779 B
JSON
{
|
|
"$schema": "../node_modules/oxlint/configuration_schema.json",
|
|
"plugins": ["typescript"],
|
|
"categories": {
|
|
"correctness": "off",
|
|
"suspicious": "off",
|
|
"pedantic": "off",
|
|
"perf": "off",
|
|
"style": "off",
|
|
"restriction": "off",
|
|
"nursery": "off"
|
|
},
|
|
"rules": {
|
|
"typescript/await-thenable": "warn",
|
|
"typescript/restrict-plus-operands": "warn",
|
|
"typescript/restrict-template-expressions": "warn",
|
|
"typescript/switch-exhaustiveness-check": [
|
|
"error",
|
|
{ "allowDefaultCaseForExhaustiveSwitch": false }
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["**/*.test.*", "**/*.spec.*"],
|
|
"rules": {
|
|
"typescript/await-thenable": "off"
|
|
}
|
|
}
|
|
],
|
|
"ignorePatterns": ["**/node_modules", "**/dist", "**/out"]
|
|
}
|