forked from digitalocean/nginxconfig.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
47 lines (47 loc) · 1.16 KB
/
.eslintrc
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
{
"extends": "eslint:recommended",
"rules": {
"array-bracket-spacing": ["error", "never"],
"brace-style": "error",
"comma-dangle": ["error", "always-multiline"],
"comma-style": ["error", "last"],
"computed-property-spacing": ["error", "never"],
"curly": ["error", "all"],
"eqeqeq": ["error", "always"],
"func-call-spacing": ["error", "never"],
"func-style": ["error", "declaration"],
"indent": ["error", "tab"],
"key-spacing": ["error", {
"afterColon": true,
"mode": "minimum",
}],
"keyword-spacing": ["error", {
"before": true,
"after": true
}],
"linebreak-style": ["error", "unix"],
"object-curly-newline": ["error", {
"minProperties": 1
}],
"no-mixed-spaces-and-tabs": "error",
"no-multi-spaces": "error",
"padded-blocks": ["error", "never"],
"padding-line-between-statements": ["error",
{ "blankLine": "always", "prev": "*", "next": "return" }
],
"quote-props": ["error", "as-needed"],
"quotes": ["error", "single"],
"semi-spacing": ["error", {
"before": false,
"after": true
}]
},
"globals": {
"angular": true,
"gtag": true,
"hljs": true,
"JSZip": true,
"Masonry": true,
"saveAs": true
}
}