forked from dyoshikawa/rulesync
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
52 lines (46 loc) · 1015 Bytes
/
.oxlintrc.json
File metadata and controls
52 lines (46 loc) · 1015 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
45
46
47
48
49
50
51
52
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "import", "unicorn"],
"categories": {
"correctness": "error",
"suspicious": "warn",
"style": "off",
"pedantic": "off"
},
"rules": {
"eqeqeq": "error",
"import/no-cycle": "error",
"no-console": "error",
"no-new": "off",
"typescript/no-explicit-any": "warn",
"unicorn/prefer-node-protocol": "error",
"unicorn/no-array-reduce": "off"
},
"env": {
"browser": false,
"node": true,
"es2024": true
},
"ignorePatterns": ["dist/**", "coverage/**", "*.d.ts", "node_modules/**"],
"overrides": [
{
"files": ["**/*.test.ts"],
"rules": {
"typescript/no-explicit-any": "off",
"no-console": "error"
}
},
{
"files": ["src/utils/logger.ts"],
"rules": {
"no-console": "off"
}
},
{
"files": ["src/cli/index.ts"],
"rules": {
"no-console": "off"
}
}
]
}