-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.oxlintrc.json
More file actions
35 lines (35 loc) · 892 Bytes
/
.oxlintrc.json
File metadata and controls
35 lines (35 loc) · 892 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": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
"plugins": ["typescript", "unicorn", "import"],
"rules": {
"no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"unicorn/prefer-node-protocol": "error",
"import/no-duplicates": "error",
"typescript/consistent-type-imports": [
"error",
{
"prefer": "type-imports",
"fixStyle": "inline-type-imports"
}
],
"no-empty-pattern": "off",
"typescript/no-explicit-any": "off",
"typescript/ban-ts-comment": "off"
},
"ignorePatterns": [
"dist/**",
"test/fixtures/**",
"coverage/**",
"fixture-coverage/**",
"istanbul-coverage/**",
"ignore-examples/**",
"node_modules/**"
]
}