-
Notifications
You must be signed in to change notification settings - Fork 56
/
.eslintrc
37 lines (37 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
{
"ecmaFeatures": {
"jsx": true,
"arrowFunctions": true,
"modules": true,
"destructuring": true,
"spread": true,
"restParams": true,
"blockBindings": true
},
"env": {
"browser": true,
"es6": true
},
"parser": "babel-eslint",
"rules": {
"semi": [2, "always"],
"quotes": [1, "single"],
"indent": [2, "tab", {"SwitchCase": 0}],
"comma-dangle": [2, "never"],
"no-mixed-spaces-and-tabs": 2,
"babel/new-cap": 0,
"new-cap": 0,
"no-shadow": 1,
"eol-last": 1,
"space-before-function-paren": [1, "never"],
"space-before-blocks": 1,
"no-underscore-dangle": 0,
"no-debugger": 0,
"no-console": 0,
"no-use-before-define": 0,
"no-alert": 0,
"no-unused-vars": 0,
"no-trailing-spaces": [2, { "skipBlankLines": true }]
},
"plugins": ["babel", "html"]
}