forked from yeoman/environment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xo-config.json
39 lines (39 loc) · 1.03 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
37
38
39
{
"space": true,
"envs": ["es2020", "node", "mocha"],
"prettier": true,
"ignores": ["test/fixtures", "types/**"],
"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",
"@typescript-eslint/restrict-template-expressions": "off",
"padding-line-between-statements": "off",
"prefer-spread": "off",
"prefer-rest-params": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-array-push-push": "off",
"unicorn/no-this-assignment": "off",
"unicorn/prefer-spread": "off"
},
"settings": {
"import/core-modules": [ "yeoman-generator" ]
},
"overrides": [
{
"files": "test/*",
"rules": {
"import/order": "off",
"max-nested-callbacks": "off"
}
},
{
"files": "bin/bin.cjs",
"rules": {
"unicorn/prefer-top-level-await": "off"
}
}
]
}