/
.eslintrc
43 lines (42 loc) · 1020 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
42
43
{
"extends": [
"standard"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": [
"babel"
],
"rules": {
"comma-dangle": "off",
"spaced-comment": "off",
"no-multiple-empty-lines": "off",
"generator-star-spacing": "off",
"no-sequences": "off",
"key-spacing": "off",
"no-multi-spaces": "off",
"no-spaced-func": "off",
"no-console": "off",
"quotes": "off",
"camelcase": "off",
"padded-blocks": "off",
"operator-linebreak": "off",
"no-whitespace-before-property": "off",
"babel/generator-star-spacing": "error",
"babel/new-cap": "off",
"babel/array-bracket-spacing": "error",
"babel/object-curly-spacing": "error",
"babel/object-shorthand": "error",
"babel/arrow-parens": "off",
"babel/no-await-in-loop": "error",
"babel/flow-object-type": "error",
"babel/func-params-comma-dangle": "error"
},
"env": {
"browser": true,
"node": true
}
}