-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy path.xo-config.json
61 lines (61 loc) · 1.56 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"space": true,
"rules": {
"import/extensions": 0,
"n/file-extension-in-import": 0,
"unicorn/prefer-node-protocol": 0,
"unicorn/prefer-module": 0,
"unicorn/no-array-callback-reference": 0,
"unicorn/prevent-abbreviations": [
"error",
{
"allowList": {
"args": true,
"Args": true,
"refFinance": true,
"createRef": true,
"getNetworkFromEnv": true,
"refContract": true
}
}
],
"n/prefer-global/url": 0,
"ava/no-ignored-test-files": 0,
"@typescript-eslint/no-unsafe-return": 0,
"@typescript-eslint/consistent-type-definitions": 0,
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "variable",
"modifiers": ["const"],
"format": ["camelCase", "UPPER_CASE"],
"leadingUnderscore": "allow",
"trailingUnderscore": "allow"
}
],
"@typescript-eslint/ban-types": [
"error",
{
"types": {
"null": false,
"Buffer": false
}
}
]
},
"ignores": ["examples/**/*.js", "*.cjs"],
"overrides": [
{
"files": ["**/__tests__/**/*.spec.ts", "**/__tests__/**/*.ava.ts"],
"rules": {
"@typescript-eslint/naming-convention": 0,
"@typescript-eslint/no-unsafe-assignment": 0,
"unicorn/prefer-module": 0,
"@typescript-eslint/no-unsafe-call": 0,
"@typescript-eslint/no-empty-function": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0
}
}
]
}