This repository has been archived by the owner on Mar 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
75 lines (75 loc) · 1.64 KB
/
.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"parser": "babel-eslint",
"extends": ["airbnb-base"],
"parserOptions": {
"sourceType": "module"
},
"env": {
"es6": true,
"browser": false,
"node": true,
"shared-node-browser": false
},
"rules": {
"arrow-body-style": [0, "always"],
"comma-dangle": [2, "never"],
"comma-style": [1, "last"],
"consistent-return": 1,
"class-methods-use-this": 1,
"func-names": 0,
"global-require": 1,
"import/prefer-default-export": 0,
"indent": ["error", 2, {
"VariableDeclarator": {
"var": 2,
"let": 2,
"const": 3
},
"SwitchCase": 1
}],
"max-len": 1,
"new-cap": 0,
"no-console": [1, {
"allow": ["log", "warn", "error"]
}],
"no-multiple-empty-lines": 0,
"no-param-reassign": [2, {
"props": false
}],
"no-return-assign": 1,
"no-trailing-spaces": 1,
"no-underscore-dangle": 0,
"no-unused-expressions": 0,
"no-unused-vars": [1, {
"vars": "local",
"args": "after-used",
"varsIgnorePattern": "_"
}],
"no-plusplus": [1, {
"allowForLoopAfterthoughts": true
}],
"no-useless-constructor": 0,
"object-property-newline": 0,
"object-shorthand": 0,
"one-var": [1, {
"var": "always",
"let": "always",
"const": "never"
}],
"prefer-arrow-callback": 0,
"prefer-const": 1,
"prefer-default-export": 0,
"quote-props": [1, "consistent"],
"semi": [2, "never"],
"strict": 0
},
"globals": {
"describe": true,
"it": true,
"before": true,
"beforeEach": true,
"after": true,
"afterEach": true,
"expect": true
}
}