-
Notifications
You must be signed in to change notification settings - Fork 5
/
.xo-config.json
38 lines (38 loc) · 901 Bytes
/
.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
{
"rules": {
"arrow-parens": ["error", "always"],
"curly": ["error", "multi-line"],
"new-cap": ["error", {
"capIsNew": false
}],
"no-console": ["error", {
"allow": ["warn", "error"]
}],
"object-curly-spacing": ["error", "always"],
"space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never"
}],
"unicorn/prevent-abbreviations": "off",
"unicorn/catch-error-name": ["error", {
"name": "err"
}],
"import/no-unassigned-import": ["error", {
"allow": ["db"]
}],
"quotes": ["error", "single", {
"avoidEscape": true
}]
},
"overrides": [{
"files": "public/*.js",
"esnext": false,
"envs": ["browser", "jquery"],
"globals": ["autosize"],
"rules": {
"camelcase": ["error", {
"allow": ["buttondown_class", "buttonup_class"]
}]
}
}]
}