-
-
Notifications
You must be signed in to change notification settings - Fork 302
/
.xo-config.json
35 lines (35 loc) · 1.04 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
{
"space": true,
"envs": ["es2020", "node", "mocha"],
"prettier": true,
"ignores": ["test/fixtures"],
"printWidth": 120,
"parserOptions": {
"project": "./tsconfig.spec.json"
},
"rules": {
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-return": "off",
"no-await-in-loop": "off",
"prefer-spread": "off"
},
"overrides": [
{
"files": "test/*",
"rules": {
"max-nested-callbacks": "off",
"prefer-rest-params": "off",
"unicorn/prefer-spread": "off",
"unicorn/no-array-callback-reference": "off",
"unicorn/no-object-as-default-parameter": "off",
"unicorn/no-this-assignment": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/naming-convention": "off"
}
}
]
}