-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.oxlintrc.json
More file actions
44 lines (44 loc) · 1.15 KB
/
Copy path.oxlintrc.json
File metadata and controls
44 lines (44 loc) · 1.15 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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "vitest"],
"env": {
"builtin": true,
"node": true
},
"categories": {
"perf": "error",
"style": "error",
"suspicious": "error"
},
"ignorePatterns": ["dist", "coverage", "test-report.json"],
"rules": {
"@typescript-eslint/no-explicit-any": "error",
"eslint/capitalized-comments": "off",
"eslint/func-style": "off",
"eslint/id-length": "off",
"eslint/init-declarations": "off",
"eslint/max-statements": "off",
"eslint/no-await-in-loop": "off",
"eslint/no-continue": "off",
"eslint/no-magic-numbers": "off",
"eslint/no-ternary": "off",
"eslint/sort-imports": "off",
"eslint/sort-keys": "off",
"typescript/consistent-type-definitions": "off",
"vitest/consistent-test-filename": "off",
"vitest/consistent-test-it": "off",
"vitest/no-importing-vitest-globals": "off",
"vitest/no-alias-methods": "off",
"vitest/no-unneeded-async-expect-function": "off",
"vitest/prefer-expect-assertions": "off",
"vitest/require-top-level-describe": "off"
},
"overrides": [
{
"files": ["*.spec.ts"],
"env": {
"vitest": true
}
}
]
}