-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
53 lines (53 loc) · 1.13 KB
/
.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
44
45
46
47
48
49
50
51
52
53
{
"env": {
"browser": true,
"es6": true,
"jasmine": true,
"jest": true,
"node": true
},
"globals": {
"Exception": true
},
"extends":[
"eslint:recommended",
"standard"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"arrowFunctions":true
},
"sourceType": "module"
},
"plugins": [],
"rules": {
"no-console": [2, { "allow": ["warn", "error"] }],
"linebreak-style": [
"error",
"unix"
],
"camelcase": 0,
"no-multi-spaces": 0,
"no-mixed-operators": 0,
"no-return-assign": 0,
"space-before-function-paren": ["error", "never"],
"no-extra-parens": 0,
"brace-style": 0,
"operator-linebreak": ["error", "after"],
"no-unused-expressions": 0,
"prefer-promise-reject-errors": 0,
"no-undef-init": 0,
"no-useless-return": 0,
"eqeqeq": 0,
"no-case-declarations": 0,
"no-useless-escape" : "off",
"react/prop-types": 0,
"no-unused-vars": [
"error",
{ "ignoreRestSiblings": true }
],
"comma-dangle": ["error", "always-multiline"]
}
}