-
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy path.oxlintrc.json
More file actions
35 lines (35 loc) · 862 Bytes
/
.oxlintrc.json
File metadata and controls
35 lines (35 loc) · 862 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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"categories": {
"correctness": "warn",
"suspicious": "warn"
},
"plugins": ["typescript", "import", "unicorn"],
"rules": {
"eslint/no-unused-vars": "warn",
"eslint/no-debugger": "error",
"eslint/no-shadow": "off",
"eslint/prefer-const": "error",
"import/no-unassigned-import": "off",
"typescript/consistent-type-imports": "error",
"typescript/no-require-imports": "error",
"unicorn/prefer-node-protocol": "error"
},
"overrides": [
{
"files": ["**/*.test.*", "**/*.spec.*", "**/test/**", "**/__tests__/**"],
"rules": {
"typescript/no-require-imports": "off"
}
}
],
"ignorePatterns": [
"dist/**",
".next/**",
"coverage/**",
"build/**",
".turbo/**",
".cache/**",
".claude/**"
]
}