-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 913 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
38
39
40
41
{
"extends": "airbnb-base",
"env": {
"node": true
},
"rules": {
"one-var": 0,
"linebreak-style": ["error", "unix"],
"quotes": ["error", "double"],
"semi": ["error", "always"],
"comma-dangle": ["error", "never"],
"no-restricted-syntax": 0,
"arrow-parens": 0,
"operator-linebreak": 0,
"no-shadow": [
"error",
{
"allow": ["locale"]
}
],
"no-plusplus": 0,
"prefer-template": 0,
"prefer-destructuring": 0,
"no-trailing-spaces": 2,
"no-param-reassign": 0,
"arrow-body-style": 0,
"global-require": 0,
"object-shorthand": 0,
"no-undef": 2,
"func-names": 0,
"no-underscore-dangle": 0,
"quote-props": 0,
"no-useless-return": 0,
"no-var": 0,
"class-methods-use-this": 2,
"no-useless-escape": 2,
"vars-on-top": 0,
"prefer-arrow-callback": 0,
"indent": ["error", 2]
}
}