-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xo-config.cjs
53 lines (53 loc) · 1.14 KB
/
.xo-config.cjs
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
module.exports = {
prettier: true,
space: true,
nodeVersion: false,
ignore: ["src/__generated__/**"],
rules: {
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-floating-promises": "off",
"capitalized-comments": "off",
complexity: ["error", 30],
"import/order": [
"error",
{
groups: [
"builtin",
"external",
"internal",
"parent",
"sibling",
"index",
"object",
"type",
],
pathGroups: [
{
pattern: "@/**",
group: "internal",
},
],
alphabetize: {
order: "asc",
caseInsensitive: true,
},
},
],
"n/no-process-env": "warn",
"new-cap": "off",
"no-template-curly-in-string": "warn",
"unicorn/filename-case": "off",
"unicorn/no-array-callback-reference": "off",
"unicorn/no-array-method-this-argument": "off",
"unicorn/prevent-abbreviations": [
"error",
{
allowList: {
args: true,
env: true,
},
},
],
},
plugins: [],
};