-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
43 lines (40 loc) · 1022 Bytes
/
.eslintrc.json
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
{
"parser": "babel-eslint",
"extends": ["eslint:recommended", "google"],
"plugins": ["import"],
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"impliedStrict": true,
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalDecorators": true,
"experimentalObjectRestSpread": true
}
},
"rules": {
"no-console": [0],
"no-lonely-if": [1],
"new-cap" : [0],
"no-invalid-this": [0],
"no-param-reassign": [0],
"no-trailing-spaces": [1],
"no-multiple-empty-lines": [1, {"max": 1}],
"max-len": [2, {"code": 80, "comments": 200}],
"indent": [2, 2],
"linebreak-style" : 0,
"quotes": [2, "double"],
"func-call-spacing": [1, "never"],
"space-in-parens": [2, "never"],
"space-before-blocks": [2, "always"],
"require-jsdoc": [0],
"global-require": [0],
"import/first": [0],
"import/prefer-default-export": [0],
"import/no-extraneous-dependencies": [0]
}
}