Repository navigation
Expand file tree
/
Copy path.oxlintrc.json
More file actions
66 lines (64 loc) · 1.73 KB
/
Copy path.oxlintrc.json
File metadata and controls
66 lines (64 loc) · 1.73 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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"options": {
"typeAware": true,
"typeCheck": true,
"reportUnusedDisableDirectives": "error"
},
"settings": {
"vitest": {
"typecheck": true
}
},
"env": {
"es2025": true,
"node": true
},
"plugins": [
"eslint",
"import",
"jsdoc",
"node",
"oxc",
"promise",
"typescript",
"unicorn",
"vitest"
],
"jsPlugins": ["@e18e/eslint-plugin"],
"categories": {
"perf": "error",
"suspicious": "error",
"nursery": "warn"
},
"rules": {
"import/consistent-type-specifier-style": ["error", "prefer-inline"],
"typescript/consistent-type-imports": [
"error",
{ "fixStyle": "inline-type-imports", "disallowTypeAnnotations": false }
],
"unicorn/prefer-node-protocol": "error",
"no-console": "warn",
"no-shadow": "off",
"oxc/no-async-endpoint-handlers": "off",
"typescript/no-redundant-type-constituents": "off",
"typescript/no-unsafe-type-assertion": "off",
"typescript/no-unnecessary-type-parameters": "off",
"e18e/ban-dependencies": "error",
"e18e/prefer-array-at": "error",
"e18e/prefer-array-fill": "error",
"e18e/prefer-array-from-map": "error",
"e18e/prefer-array-some": "error",
"e18e/prefer-array-to-reversed": "error",
"e18e/prefer-array-to-sorted": "error",
"e18e/prefer-array-to-spliced": "error",
"e18e/prefer-date-now": "error",
"e18e/prefer-includes": "error",
"e18e/prefer-nullish-coalescing": "error",
"e18e/prefer-object-has-own": "error",
"e18e/prefer-regex-test": "error",
"e18e/prefer-spread-syntax": "error",
"e18e/prefer-timer-args": "error",
"e18e/prefer-url-canparse": "error"
}
}