-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoxlint.json
More file actions
48 lines (48 loc) · 1.29 KB
/
oxlint.json
File metadata and controls
48 lines (48 loc) · 1.29 KB
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
39
40
41
42
43
44
45
46
47
48
{
"ignorePatterns": ["dist/**", "coverage/**", "node_modules/**"],
"plugins": ["eslint", "typescript", "unicorn", "import", "oxc", "node"],
"rules": {
"no-console": "error",
"unicorn/filename-case": ["error", { "case": "camelCase" }],
"@typescript-eslint/no-explicit-any": "error",
"import/order": [
"error",
{
"groups": ["builtin", "external", "internal", "parent", "sibling", "index"],
"newlines-between": "always",
"alphabetize": { "order": "asc", "caseInsensitive": true }
}
],
"import/no-unused-modules": [
"error",
{ "missingExports": true, "unusedExports": true }
]
},
"overrides": [
{
"files": ["test/fixtures/**", "testing.*", "test/helpers/**"],
"rules": {
"no-unused-vars": "off",
"no-unused-expressions": "off",
"no-dupe-class-members": "off",
"no-useless-rename": "off",
"unicorn/no-empty-file": "off",
"no-with": "off",
"no-console": "off",
"no-eval": "off"
}
},
{
"files": ["test/fixtures/identifiers/**"],
"rules": {
"no-unused-vars": "off"
}
},
{
"files": ["test/**", "!test/cli.ts"],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
}
]
}