-
Notifications
You must be signed in to change notification settings - Fork 162
Expand file tree
/
Copy path.oxlintrc.json
More file actions
53 lines (53 loc) · 1.85 KB
/
.oxlintrc.json
File metadata and controls
53 lines (53 loc) · 1.85 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
53
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"env": {
"node": true,
"mocha": true
},
"extends": [
"./node_modules/@eggjs/oxlint-config/.oxlintrc.json"
],
"rules": {
"typescript/no-explicit-any": "allow",
"typescript/no-non-null-assertion": "allow",
"typescript/prefer-ts-expect-error": "allow",
"typescript/array-type": "allow",
"typescript/prefer-for-of": "allow",
"typescript/no-inferrable-types": "allow",
"typescript/consistent-type-imports": "allow",
"import/no-namespace": "allow",
"import/consistent-type-specifier-style": "allow",
"import/no-duplicates": "allow",
"no-useless-escape": "allow",
"prefer-exponentiation-operator": "allow",
"new-cap": "allow",
"func-names": "allow",
"no-empty-function": "allow",
"prefer-object-has-own": "allow",
"no-throw-literal": "allow",
"no-void": "allow",
"no-template-curly-in-string": "allow",
"no-duplicate-imports": "allow",
"promise/avoid-new": "allow",
"promise/param-names": "allow",
"promise/prefer-await-to-callbacks": "allow",
"promise/prefer-await-to-then": "allow",
"unicorn/no-new-array": "allow",
"unicorn/consistent-assert": "allow",
"unicorn/no-array-for-each": "allow",
"unicorn/numeric-separators-style": "allow",
"unicorn/prefer-code-point": "allow",
"unicorn/prefer-global-this": "allow",
"unicorn/prefer-string-replace-all": "allow",
"unicorn/prefer-type-error": "allow",
"unicorn/switch-case-braces": "allow",
"unicorn/prefer-string-raw": "allow",
"unicorn/prefer-number-properties": "allow",
"unicorn/prefer-string-slice": "allow",
"jsdoc/check-tag-names": "allow",
"jsdoc/no-defaults": "allow",
"import/no-named-export": "allow",
"import/no-nodejs-modules": "allow",
"import/no-relative-parent-imports": "allow"
}
}