Files
stanza/.oxlintrc.json
T
2026-05-20 11:52:53 -04:00

43 lines
1.0 KiB
JSON

{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "unicorn", "import", "promise"],
"categories": {
"correctness": "error",
"suspicious": "warn",
"perf": "warn"
},
"rules": {
"no-console": "off",
"no-empty": ["error", { "allowEmptyCatch": true }],
"no-await-in-loop": "off",
"unicorn/no-null": "off",
"unicorn/filename-case": "off",
"unicorn/no-array-reduce": "off"
},
"ignorePatterns": [
"**/node_modules/**",
"**/dist/**",
"**/.output/**",
"**/.turbo/**",
"**/.vercel/**",
"**/*.gen.ts",
"**/coverage/**",
"registry/modules/*/templates/**"
],
"overrides": [
{
"files": ["**/*.test.ts", "**/*.test.tsx", "**/tests/**"],
"rules": {
"typescript/no-explicit-any": "off"
}
},
{
"files": ["apps/web/**/*.tsx"],
"plugins": ["typescript", "react", "react-hooks", "jsx-a11y", "unicorn", "import"],
"rules": {
"react/react-in-jsx-scope": "off"
}
}
]
}