-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
47 lines (47 loc) · 1.18 KB
/
.oxlintrc.json
File metadata and controls
47 lines (47 loc) · 1.18 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
{
"$schema": "node_modules/oxlint/configuration_schema.json",
"plugins": ["eslint", "typescript", "unicorn", "import", "oxc", "promise", "vitest"],
"categories": {
"correctness": "off",
"perf": "error",
"pedantic": "off",
"style": "off",
"restriction": "off",
"suspicious": "off",
"nursery": "off"
},
"env": {
"builtin": true,
"node": true,
"shared-node-browser": true
},
"rules": {
"eslint/*": "error",
"eslint/no-await-in-loop": "off",
"eslint/sort-keys": "off",
"eslint/sort-imports": "off",
"eslint/no-ternary": "off",
"eslint/no-magic-numbers": "off",
"eslint/eqeqeq": [
"error",
"always",
{
"null": "ignore"
}
],
"import/*": "error",
"import/no-unassigned-import": "off",
"import/no-named-export": "off",
"import/group-exports": "off",
"import/exports-last": "off",
"import/prefer-default-export": "off",
"import/consistent-type-specifier-style": "off",
"typescript/*": "error",
"unicorn/*": "error",
"oxc/*": "error",
"oxc/no-map-spread": "off",
"oxc/no-accumulating-spread": "off",
"promise/*": "error",
"vitest/*": "error"
}
}