-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
33 lines (33 loc) · 863 Bytes
/
.oxlintrc.json
File metadata and controls
33 lines (33 loc) · 863 Bytes
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
30
31
32
33
{
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
"rules": {
"no-console": "error",
"curly": "error",
"no-constant-condition": "error",
"no-debugger": "error",
"no-duplicate-case": "error",
"no-empty": "error",
"no-ex-assign": "error",
"no-extra-boolean-cast": "error",
"no-irregular-whitespace": "error",
"no-sparse-arrays": "error",
"use-isnan": "error",
"valid-typeof": "error",
"array-callback-return": "error",
"no-self-compare": "error"
},
"categories": {
"correctness": "error",
"suspicious": "off", // TODO: enable
// Restriction
"perf": "off"
},
"ignorePatterns": [
"dist/**",
"node_modules/**",
"coverage/**",
"test-cases/**",
"test-cases-next-to-tackle/**",
"storybook-static/**"
]
}