forked from vitejs/vite-ecosystem-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
40 lines (40 loc) · 1022 Bytes
/
Copy path.oxlintrc.json
File metadata and controls
40 lines (40 loc) · 1022 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
37
38
39
40
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"jsPlugins": ["eslint-plugin-n"],
"plugins": ["typescript", "node", "unicorn"],
"options": {
"typeAware": true
},
"categories": {
"correctness": "error",
"suspicious": "error"
},
"env": {
"node": true
},
"ignorePatterns": ["workspace/**"],
"rules": {
"eqeqeq": ["warn", "always", { "null": "never" }],
"no-debugger": "error",
"no-empty": ["warn", { "allowEmptyCatch": true }],
"no-shadow": "off",
"no-undef": "error",
"no-useless-assignment": "error",
"no-useless-concat": "off",
"prefer-const": ["warn", { "destructuring": "all" }],
"typescript/no-explicit-any": "off",
"typescript/no-unsafe-type-assertion": "off",
"n/no-deprecated-api": "error",
"n/no-unsupported-features/es-builtins": "error",
"n/no-unsupported-features/es-syntax": "error",
"n/no-unsupported-features/node-builtins": "error"
},
"overrides": [
{
"files": ["**/*.{ts,tsx,mts,cts}"],
"rules": {
"no-undef": "off"
}
}
]
}