-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy path.oxlintrc.json
More file actions
36 lines (36 loc) · 999 Bytes
/
.oxlintrc.json
File metadata and controls
36 lines (36 loc) · 999 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
36
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"env": {
"node": true,
"mocha": true
},
"extends": [
"./node_modules/@eggjs/oxlint-config/.oxlintrc.json"
],
"rules": {
"promise/prefer-await-to-callbacks": "allow",
"promise/prefer-await-to-then": "allow",
"promise/avoid-new": "allow",
"promise/no-callback-in-promise": "allow",
"unicorn/numeric-separators-style": "allow",
"unicorn/escape-case": "allow",
"unicorn/consistent-assert": "allow",
"unicorn/no-array-for-each": "allow",
"unicorn/prefer-number-properties": "allow",
"unicorn/text-encoding-identifier-case": "allow",
"unicorn/prefer-optional-catch-binding": "allow",
"no-lonely-if": "allow",
"no-unused-vars": "allow",
"no-void": "allow",
"import/no-named-as-default": "allow",
"typescript/no-explicit-any": "allow"
},
"ignorePatterns": [
"test/fixtures",
"test/demo",
"logs",
"run",
"coverage",
"dist"
]
}