Files
orca/mobile/.oxlintrc.json
Neil a8d92e5df9 chore(mobile): prune stale max-lines overrides
(cherry picked from commit be954c3663409116f34ba08658876262733b3f67)
2026-08-31 23:35:08 -07:00

56 lines
1.6 KiB
JSON

{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"extends": ["../.oxlintrc.json"],
"ignorePatterns": ["src/terminal/terminal-webview-engine.generated.ts"],
"rules": {
"react-hooks/exhaustive-deps": "off",
"react/no-unescaped-entities": "off",
"typescript/array-type": "off",
"typescript/consistent-type-definitions": "off",
"typescript/consistent-type-imports": "off",
"prefer-template": "off",
"no-useless-return": "off",
"unicorn/prefer-at": "off",
"unicorn/prefer-ternary": "off",
"unicorn/prefer-node-protocol": "off"
},
"overrides": [
{
"files": ["src/terminal/TerminalWebView.tsx"],
"rules": {
"max-lines": ["error", { "max": 379, "skipBlankLines": true, "skipComments": true }]
}
},
{
"files": ["app/h/*/source-control/*.tsx"],
"rules": {
"max-lines": ["error", { "max": 2152, "skipBlankLines": true, "skipComments": true }]
}
},
{
"files": ["app/index.tsx"],
"rules": {
"max-lines": ["error", { "max": 1422, "skipBlankLines": true, "skipComments": true }]
}
},
{
"files": ["src/transport/rpc-client.ts"],
"rules": {
"max-lines": ["error", { "max": 1074, "skipBlankLines": true, "skipComments": true }]
}
},
{
"files": ["scripts/mock-server.ts"],
"rules": {
"max-lines": ["error", { "max": 407, "skipBlankLines": true, "skipComments": true }]
}
},
{
"files": ["app/h/*/files/*.tsx"],
"rules": {
"max-lines": ["error", { "max": 402, "skipBlankLines": true, "skipComments": true }]
}
}
]
}