-
Notifications
You must be signed in to change notification settings - Fork 40
/
.eslintrc
37 lines (35 loc) · 983 Bytes
/
.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
{
"extends": "eslint:recommended",
"env": {
"es6": true,
"node": true
},
"plugins": [
"babel"
],
"parser": "babel-eslint",
"rules": {
"indent": [2, 4],
"quotes": [2, "single", "avoid-escape"],
"brace-style": [2, "1tbs", { "allowSingleLine": false }],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"strict": [2, "global"],
"comma-dangle": [2, "never"],
"eol-last": 2,
"dot-notation": 2,
"dot-location": [2, "property"],
"consistent-return": 2,
"no-unused-vars": [2, {"args": "none"}],
"no-cond-assign": [2, "always"],
"no-shadow": 2,
"no-multi-spaces": 2,
"eqeqeq": [2, "allow-null"],
"vars-on-top": 2,
"no-eval": 2,
"consistent-this": [0, "that"],
"camelcase": [2, {"properties": "always"}],
"max-len": [2, 120, 4, {"ignoreComments": true, "ignoreUrls": true, "ignorePattern": "^\\s*var\\s.+=\\s*require\\s*\\("}],
"arrow-body-style": [2, "as-needed"]
}
}