-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
52 lines (49 loc) · 1.4 KB
/
Copy path.oxlintrc.json
File metadata and controls
52 lines (49 loc) · 1.4 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
49
50
51
52
{
"env": {
"node": true,
"es2022": true
},
"globals": {
"Bun": "readonly"
},
"plugins": ["typescript", "import", "unicorn"],
"rules": {
"no-unused-vars": "warn",
"no-undef": "error",
"unicorn/no-null": "off",
"unicorn/numeric-separators-style": "off",
"unicorn/consistent-function-scoping": "off",
"no-await-in-loop": "off",
"no-continue": "off",
"no-ternary": "off",
"sort-keys": "off",
"sort-imports": "off",
"no-magic-numbers": "off",
"max-params": "off",
"init-declarations": "off",
"id-length": "off",
"arrow-body-style": "off",
"curly": "off",
"typescript/no-explicit-any": "error",
"typescript/no-unused-vars": "warn",
"typescript/explicit-function-return-type": "off",
"typescript/no-non-null-assertion": "warn",
"typescript/consistent-type-imports": "off",
"typescript/consistent-indexed-object-style": "off",
"import/no-cycle": "error",
"import/prefer-default-export": "off",
"import/group-exports": "off",
"import/exports-last": "off",
"import/consistent-type-specifier-style": "off",
"unicorn/filename-case": ["error", { "case": "kebabCase" }]
},
"categories": {
"correctness": "error",
"suspicious": "warn",
"pedantic": "off",
"perf": "warn",
"style": "warn"
},
"ignorePatterns": ["dist/", "node_modules/", "build/", "*.js"],
"files": ["**/*.{ts,tsx}"]
}