-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoxlint.json
More file actions
37 lines (37 loc) · 839 Bytes
/
oxlint.json
File metadata and controls
37 lines (37 loc) · 839 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
{
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
"rules": {
"no-console": "warn",
"no-debugger": "error",
"no-unused-vars": "warn",
"eqeqeq": "warn",
"no-var": "error",
"prefer-const": "warn",
"unicorn/prefer-string-starts-ends-with": "warn",
"unicorn/no-useless-fallback-in-spread": "warn"
},
"ignorePatterns": [
"dist/**",
"node_modules/**",
"coverage/**",
"docs/**",
"bundler-benchmark/**",
"*.config.ts",
"*.config.mjs",
"scripts/**"
],
"overrides": [
{
"files": ["src/**/*.ts"],
"rules": {
"no-console": "warn"
}
},
{
"files": ["test/**/*.ts", "playground/**/*.ts", "playground/**/*.tsx"],
"rules": {
"no-console": "off"
}
}
]
}