forked from dcfemtech/hackforgood-waba-map
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
31 lines (31 loc) · 834 Bytes
/
.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
module.exports = {
'env': {
'browser': true,
'node': true
},
'globals': {
'L': true
},
'rules': {
'quotes': [2, 'single'],
'indent': ['error', 4],
'no-multi-spaces': [2],
'no-unused-vars': [1],
'no-mixed-spaces-and-tabs': [2],
'no-underscore-dangle': [2],
'no-loop-func': [2],
'handle-callback-err': [2],
'consistent-return': [2],
'space-unary-ops': [2],
'space-in-parens': ['error', 'never'],
'space-before-function-paren': ['error', 'never'],
'no-trailing-spaces': [2],
'no-tabs': [2],
'new-cap': [2],
'no-shadow': [2],
'camelcase': [2],
'curly': [2],
'block-spacing': ['error', 'always'],
'no-multiple-empty-lines': [2]
}
}