-
Notifications
You must be signed in to change notification settings - Fork 180
Expand file tree
/
Copy path.oxlintrc.json
More file actions
29 lines (29 loc) · 1 KB
/
.oxlintrc.json
File metadata and controls
29 lines (29 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["unicorn", "typescript", "oxc"],
"categories": {
"correctness": "error",
"perf": "error",
"suspicious": "error"
},
"rules": {
"eslint/no-await-in-loop": "off",
"eslint/no-control-regex": "off",
"eslint/no-new": "off",
"eslint/no-shadow": "off",
"eslint/no-unmodified-loop-condition": "off",
"eslint/preserve-caught-error": "off",
"oxc/no-accumulating-spread": "off",
"oxc/no-map-spread": "off",
"typescript/no-explicit-any": "off",
"typescript/no-extraneous-class": "off",
"typescript/no-unsafe-type-assertion": "off",
"unicorn/consistent-function-scoping": "off",
"unicorn/no-array-sort": "off",
"unicorn/no-new-array": "off",
"unicorn/no-useless-fallback-in-spread": "off",
"unicorn/prefer-add-event-listener": "off",
"unicorn/prefer-set-has": "off"
},
"ignorePatterns": ["coverage/", "dist/", "node_modules/", "pnpm-lock.yaml", "types/", "vendor/"]
}