forked from caged/d3-tip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yaml
60 lines (55 loc) · 1.04 KB
/
.eslintrc.yaml
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
---
root: true
extends:
- airbnb-base/legacy
env:
browser: true
node: true
amd: true
rules:
# Customised whitespace
max-len:
- 1
- 80
- 2
-
ignoreUrls: true
ignoreComments: false
indent:
- 1
- 2
-
SwitchCase: 1
VariableDeclarator:
var: 2
let: 2
const: 3
outerIIFEBody: 1
no-multi-spaces:
- 1
-
exceptions:
VariableDeclarator: true
key-spacing:
- 1
-
align: value
space-before-function-paren:
- 1
- never
# Customised to existing code's style
semi:
- 1
- never
# You don't need this one when you know your operators
no-mixed-operators: 0
# Additional rules
func-names: 0
# Disabled for IE8 support
comma-dangle: 0
# Airbnb rules that were disabled due to too many conflicts
# with the existing code style
vars-on-top: 0
one-var: 0
no-use-before-define: 0
no-plusplus: 0