-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
92 lines (92 loc) · 1.71 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"globals": {
"debug": true,
"describe": true,
"beforeEach": true,
"afterEach": true,
"it": true,
"chrome": true
},
"extends": "eslint:recommended",
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"arrowFunctions": true,
"destructuring": true,
"classes": true,
"defaultParams": true,
"blockBindings": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"restParams": true,
"spread": true,
"forOf": true,
"generators": true,
"templateStrings": true,
"superInFunctions": true,
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"import",
"promise",
"compat"
],
"rules": {
"indent": [
1,
2,
{
"SwitchCase": 1
}
],
"eol-last": 1,
"eqeqeq": [
1,
"allow-null"
],
"comma-style": [
1,
"last"
],
"linebreak-style": [
1,
"unix"
],
"quotes": [
1,
"single"
],
"semi": [
1,
"never"
],
"no-extra-semi": 0,
"semi-spacing": 0,
"no-alert": 0,
"no-array-constructor": 1,
"no-caller": 1,
"no-catch-shadow": 0,
"no-cond-assign": 1,
"no-console": 0,
"no-constant-condition": 0,
"no-continue": 0,
"no-control-regex": 1,
"no-debugger": 1,
"no-delete-var": 1,
"no-mixed-spaces-and-tabs": 1,
"no-unused-vars": 1,
"comma-dangle": 1
}
}