-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
.xo-config.json
36 lines (36 loc) · 1.08 KB
/
.xo-config.json
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
{
"space": true,
"envs": ["es2020", "node", "mocha"],
"prettier": true,
"ignores": ["test/fixtures"],
"printWidth": 120,
"rules": {
"@typescript-eslint/no-implicit-any-catch": "off",
"@typescript-eslint/no-redundant-type-constituents": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-return": "off",
"unicorn/prefer-spread": "off",
"unicorn/no-object-as-default-parameter": "off"
},
"overrides": [
{
"files": "src/*",
"rules": {
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/restrict-template-expressions": "off"
}
},
{
"files": "test/*",
"rules": {
"@typescript-eslint/await-thenable": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-implicit-any-catch": "off"
}
}
]
}