.oxlintrc.json997 BView on GitHub {
"ignorePatterns": [
"tmp/**",
"docs/audits/*/tools/**"
],
"plugins": [
"react",
"unicorn",
"typescript",
"oxc"
],
"rules": {
"no-alert": "error",
"rules-of-hooks": "error",
"oxc/approx-constant": "warn",
"no-plusplus": "off",
"no-useless-call": "error",
"no-accumulating-spread": "error",
"no-array-index-key": "off",
"jsx-no-jsx-as-prop": "error",
"jsx-no-new-array-as-prop": "error",
"jsx-no-new-function-as-prop": "error",
"jsx-no-new-object-as-prop": "error",
"prefer-array-find": "error",
"prefer-set-has": "off",
"exhaustive-deps": "off",
"@typescript-eslint/no-this-alias": "off"
},
"overrides": [
{
"files": [
"**/*.test.ts",
"**/__tests__/**"
],
"rules": {
"no-thenable": "off"
}
},
{
"files": [
"apps/server/**",
"packages/**"
],
"rules": {
"rules-of-hooks": "off"
}
}
]
}