-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.oxlintrc.json
More file actions
57 lines (57 loc) · 1.34 KB
/
.oxlintrc.json
File metadata and controls
57 lines (57 loc) · 1.34 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["import", "typescript", "oxc", "unicorn"],
"env": {
"node": true,
"browser": true,
"es2024": true
},
"categories": {
"perf": "error",
"correctness": "error",
"pedantic": "error"
},
"rules": {
"unicorn/no-null": "error",
"unicorn/prefer-set-has": "off",
"prefer-string-slice": "off",
"prefer-code-point": "off",
"no-lonely-if": "off",
"unicorn/no-lonely-if": "off",
"no-unused-vars": "off",
"no-await-in-loop": "off",
"prefer-query-selector": "off",
"max-dependencies": "off",
"ban-types": "off",
"no-undefined": "off",
"no-useless-undefined": "off",
"max-classes-per-file": "off",
"max-lines-per-function": "off",
"prefer-math-trunc": "off",
"max-lines": "off",
"max-depth": [
"warn",
{
"max": 6
}
],
"explicit-function-return-type": "off",
"no-console": "off",
"no-optional-chaining": "off",
"no-commonjs": "off",
"unambiguous": "off",
"no-default-export": "off",
"no-async-await": "off",
"no-non-null-assertion": "off",
"no-plusplus": "off",
"no-bitwise": "off",
"default-case": "off",
"no-rest-spread-properties": "off",
"require-await": "warn",
"no-null": "off",
"no-warning-comments": "off",
"no-case-declarations": "off",
"no-inline-comments": "off",
"no-useless-return": "warn"
}
}