-
-
Notifications
You must be signed in to change notification settings - Fork 424
Expand file tree
/
Copy path.oxlintrc.json
More file actions
48 lines (48 loc) · 1.1 KB
/
.oxlintrc.json
File metadata and controls
48 lines (48 loc) · 1.1 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
{
"$schema": "https://unpkg.com/oxlint/configuration_schema.json",
"plugins": ["unicorn", "typescript", "oxc", "vue", "vitest"],
"jsPlugins": ["@e18e/eslint-plugin"],
"categories": {
"correctness": "error",
"suspicious": "warn",
"perf": "warn"
},
"rules": {
"no-console": "warn",
"no-await-in-loop": "off",
"unicorn/no-array-sort": "off",
"no-restricted-globals": "error",
"typescript/consistent-type-imports": "error",
"e18e/prefer-array-from-map": "error",
"e18e/prefer-timer-args": "error",
"e18e/prefer-date-now": "error",
"e18e/prefer-regex-test": "error",
"e18e/prefer-array-some": "error"
},
"overrides": [
{
"files": [
"server/**/*",
"cli/**/*",
"scripts/**/*",
"modules/**/*",
"app/components/OgImage/*"
],
"rules": {
"no-console": "off"
}
}
],
"ignorePatterns": [
".output/**",
".data/**",
".nuxt/**",
".nitro/**",
".cache/**",
"dist/**",
"node_modules/**",
"coverage/**",
"playwright-report/**",
"test-results/**"
]
}