forked from agentcommercekit/ack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
44 lines (44 loc) · 859 Bytes
/
.oxlintrc.json
File metadata and controls
44 lines (44 loc) · 859 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
41
42
43
44
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": [
"eslint",
"typescript",
"unicorn",
"oxc",
"import",
"jsdoc",
"node",
"promise",
"vitest"
],
"globals": {},
"settings": {},
"categories": {
"correctness": "error",
"perf": "warn",
"suspicious": "warn",
"pedantic": "off"
},
"rules": {
"curly": "error",
"no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
"typescript/no-explicit-any": "error",
"typescript/no-misused-promises": "warn",
"typescript/restrict-template-expressions": "warn"
},
"overrides": [
{
"files": ["**/*.test.ts"],
"rules": {
"typescript/no-explicit-any": "off"
}
}
]
}