-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy path.oxlintrc.json
More file actions
36 lines (36 loc) · 814 Bytes
/
.oxlintrc.json
File metadata and controls
36 lines (36 loc) · 814 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
34
35
36
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": [],
"categories": {
"correctness": "off"
},
"env": {
"builtin": true
},
"overrides": [
{
"files": ["**/*.{js,mjs,cjs}"],
"rules": {
"curly": ["error", "all"],
"prefer-spread": "error",
"prefer-rest-params": "error",
"no-sequences": "error",
"no-nested-ternary": "error",
"no-unneeded-ternary": "error",
"no-else-return": "error",
"operator-assignment": "error",
"no-useless-rename": "error",
"no-useless-computed-key": "error",
"no-useless-concat": "error",
"no-useless-return": "error",
"complexity": ["warn", 15],
"prefer-object-spread": "warn",
"no-lonely-if": "warn",
"no-extra-boolean-cast": "warn"
},
"env": {
"browser": true
}
}
]
}