forked from rolldown/rolldown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.oxlintrc.json
38 lines (38 loc) · 842 Bytes
/
.oxlintrc.json
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
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["import", "jsdoc", "unicorn", "typescript", "oxc"],
"ignorePatterns": [
"crates/**",
"packages/rollup-tests/**",
"packages/rolldown/tests/fixtures/**",
"packages/rolldown/src/binding.d.ts",
"rollup/**"
],
"rules": {
"no-unused-vars": [
"warn",
{ "varsIgnorePattern": "^_", "argsIgnorePattern": "^_" }
],
"unicorn/prefer-node-protocol": "error",
"import/namespace": [
"error",
{
"allowComputed": true
}
],
"import/named": "allow"
},
"overrides": [
{
"files": ["**/packages/rolldown/src/**"],
"rules": {
"no-console": [
"warn",
{
"allow": ["warn", "error", "debug", "info"]
}
]
}
}
]
}