forked from davidbonnet/astravel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
51 lines (51 loc) · 1.28 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
48
49
50
51
{
"rules": {
"indent": [2, "tab"],
"quotes": [2, "single"],
"linebreak-style": [2, "unix"],
"semi": [2, "never"],
"no-underscore-dangle": 0,
"camelcase": [2, {
"properties": "always"
}],
"no-console": 0,
"new-cap": 0,
"no-multi-spaces": 2,
"no-unused-vars": [2, {
"vars": "all",
"args": "none"
}],
"comma-spacing": [2, {
"before": false,
"after": true
}],
"space-in-parens": [2, "always"],
"space-before-function-paren": [2, "never"],
"array-bracket-spacing": [2, "always"],
"object-curly-spacing": [2, "always"],
"block-spacing": [2, "always"],
"key-spacing": [2, {
"beforeColon": false,
"afterColon": true,
"mode": "strict"
}],
"no-trailing-spaces": 2,
"computed-property-spacing": [2, "always"],
"no-multiple-empty-lines": [2, {
"max": 2
}],
"eol-last": 2
},
"globals": {
"require": true,
"__dirname": true,
"__filename": true
},
"env": {
"es6": true,
"browser": true
},
"ecmaFeatures": {
"modules": true
}
}