chore: migrate lint configuration to Oxlint

Co-authored-by: naiba/CloudCode <hi+cloudcode@nai.ba>
This commit is contained in:
naiba
2026-07-21 08:58:16 +00:00
co-authored by naiba/CloudCode
parent 5ace626f23
commit feb069a7d0
2 changed files with 25 additions and 27 deletions
+25
View File
@@ -0,0 +1,25 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"categories": {
"correctness": "error"
},
"env": {
"browser": true
},
"ignorePatterns": ["dist"],
"plugins": ["eslint", "typescript", "react"],
"rules": {
"react/rules-of-hooks": "error",
"react/exhaustive-deps": "warn",
"typescript/no-explicit-any": "off",
"react/only-export-components": "off"
},
"overrides": [
{
"files": ["tests/e2e/fixtures.ts"],
"rules": {
"react/rules-of-hooks": "off"
}
}
]
}