-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Expand file tree
/
Copy path.oxlintrc.json
More file actions
89 lines (89 loc) · 2.26 KB
/
Copy path.oxlintrc.json
File metadata and controls
89 lines (89 loc) · 2.26 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": [
"typescript",
"unicorn",
"oxc",
"vue"
],
"categories": {
"correctness": "off"
},
"env": {
"builtin": true,
"es2026": true,
"browser": true,
"node": true
},
"globals": {
"defineOptions": "readonly"
},
"options": {
"typeAware": true,
"typeCheck": false,
"maxWarnings": 0
},
"ignorePatterns": [
"**/node_modules/",
"**/dist/",
"**/public/",
"**/build/",
"**/.git/",
"**/.vscode/",
"**/.idea/",
"**/.husky/",
"**/.local/",
"**/.turbo/",
"**/Dockerfile",
"**/*.sh",
"**/*.md",
"**/*.woff",
"**/*.ttf",
"**/*.d.ts",
"**/*.js",
"**/*.mjs",
"**/__snapshots__/"
],
"overrides": [
{
"files": [
"**/*.ts",
"**/*.tsx",
"**/*.vue"
],
"rules": {
"no-array-constructor": "error",
"no-unused-expressions": "off",
"no-unused-vars": "off",
"no-empty-function": "off",
"no-use-before-define": "off",
"typescript/ban-ts-comment": "off",
"typescript/no-duplicate-enum-values": "error",
"typescript/no-empty-object-type": "error",
"typescript/no-explicit-any": "off",
"typescript/no-extra-non-null-assertion": "error",
"typescript/no-misused-new": "error",
"typescript/no-namespace": "error",
"typescript/no-non-null-asserted-optional-chain": "error",
"typescript/no-require-imports": "error",
"typescript/no-this-alias": "error",
"typescript/no-unnecessary-type-constraint": "error",
"typescript/no-unsafe-declaration-merging": "error",
"typescript/no-unsafe-function-type": "off",
"typescript/no-wrapper-object-types": "error",
"typescript/prefer-as-const": "error",
"typescript/prefer-namespace-keyword": "error",
"typescript/triple-slash-reference": "error",
"typescript/ban-types": "off",
"typescript/explicit-module-boundary-types": "off",
"typescript/no-non-null-assertion": "off",
"typescript/no-var-requires": "off",
"typescript/no-unused-vars": "off"
},
"plugins": [
"typescript",
"vue"
]
}
]
}