-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.oxlintrc.json
More file actions
39 lines (39 loc) · 1.06 KB
/
.oxlintrc.json
File metadata and controls
39 lines (39 loc) · 1.06 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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "unicorn", "vue"],
"env": {
"node": true,
"browser": true
},
"categories": {
"correctness": "error",
"perf": "error",
"suspicious": "error",
"pedantic": "warn",
"style": "warn",
"nursery": "warn"
},
"globals": {
"defineExpose": "readonly",
"defineProps": "readonly",
"defineModel": "readonly"
},
"rules": {
"id-length": "off",
"init-declarations": "off",
"max-depth": "off",
"max-lines-per-function": "off",
"max-params": "off",
"max-statements": "off",
"no-await-in-loop": "off",
"no-duplicate-imports": ["error", { "allowSeparateTypeImports": true }],
"no-magic-numbers": "off",
"no-ternary": "off",
"prefer-global-this": "off",
"sort-imports": "off",
"typescript/consistent-type-imports": ["error", { "prefer": "type-imports", "fixStyle": "separate-type-imports" }],
"unicorn/filename-case": "off",
"unicorn/no-null": "off",
"unicorn/prefer-node-protocol": "error"
}
}