-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
30 lines (30 loc) · 791 Bytes
/
Copy path.oxlintrc.json
File metadata and controls
30 lines (30 loc) · 791 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
{
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
"rules": {
"unicorn/require-post-message-target-origin": "off",
"no-shadow": ["warn", { "allow": ["ok", "error", "value"] }]
},
"categories": {
"correctness": "error",
"suspicious": "warn",
"perf": "warn"
},
"ignorePatterns": ["dist/", "out/", "node_modules/", "refs/"],
"overrides": [
{
"files": ["**/*.d.ts"],
"rules": {
"no-redeclare": "off"
}
},
{
"files": ["examples/**/*.ts"],
"rules": {
"no-unused-vars": "off",
"typescript/no-extraneous-class": "off",
"typescript/triple-slash-reference": "off",
"unicorn/require-module-specifiers": "off"
}
}
]
}