-
Notifications
You must be signed in to change notification settings - Fork 10
/
.eslintrc.js
70 lines (70 loc) · 1.51 KB
/
.eslintrc.js
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
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true,
node: true
},
extends: 'airbnb-base',
globals: {
__static: true,
"TimelineLite" : false,
"TimelineMax" : false,
"TweenLite" : false,
"TweenMax" : false,
"Back" : false,
"Bounce" : false,
"Circ" : false,
"Cubic" : false,
"Ease" : false,
"EaseLookup" : false,
"Elastic" : false,
"Expo" : false,
"Linear" : false,
"Power0" : false,
"Power1" : false,
"Power2" : false,
"Power3" : false,
"Power4" : false,
"Quad" : false,
"Quart" : false,
"Quint" : false,
"RoughEase" : false,
"Sine" : false,
"SlowMo" : false,
"SteppedEase" : false,
"Strong" : false,
"Draggable" : false,
"SplitText" : false,
"VelocityTracker" : false,
"CSSPlugin" : false,
"ThrowPropsPlugin" : false,
"BezierPlugin" : false
},
plugins: [
'html'
],
'rules': {
'global-require': 0,
'import/no-unresolved': 0,
'no-param-reassign': 0,
'no-shadow': 0,
'consistent-return': 0,
'import/extensions': 0,
'import/newline-after-import': 0,
'no-multi-assign': 0,
'indent': 0,
'max-len': 0,
'no-return-assign': 0,
"arrow-body-style": 0,
"no-use-before-define": 0,
"import/first": 0,
'arrow-parens': 0,
'no-mixed-operators': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
}
}