forked from geotiffjs/geotiff.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
45 lines (45 loc) · 1.03 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
module.exports = {
'extends': 'airbnb',
'env': {
'mocha': true,
'browser': true,
'worker': true,
'node': true
},
'rules': {
'no-underscore-dangle': 0,
'class-methods-use-this': 0,
'no-plusplus': 0,
'no-loop-func': 0,
'no-mixed-operators': [
'error', {
'allowSamePrecedence': true
}
],
'no-param-reassign': [
'error', {
'props': false
}
],
'no-prototype-builtins': 0,
'no-restricted-syntax': [
'error',
'LabeledStatement',
'WithStatement',
],
'no-console': 0,
'no-bitwise': 0,
'max-classes-per-file': 0,
'import/prefer-default-export': 0,
'prefer-default-export': 0,
'func-names': 0,
'arrow-body-style': 0,
'function-paren-newline': 0,
'object-curly-newline': 0,
'no-await-in-loop': 0,
'prefer-destructuring': ['error', { 'object': true, 'array': false }],
'curly': ['error', 'all'],
'brace-style': ['error', '1tbs', { 'allowSingleLine': false }],
'no-else-return': 0
}
};