-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
32 lines (31 loc) · 902 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
32
let config = {
'extends': [
'eslint:recommended',
'google'
],
'plugins': [],
'env': {
'node': true,
"es6": true
},
'globals': {
'module': true,
'Set': true,
'Promise': true
},
'parserOptions': {
'ecmaVersion': 8
},
rules: {
'comma-dangle': [2, 'never'],
'space-infix-ops': 1,
'no-console': 0, // temporary disabled untli they have been evaluated and perhaps replaced with log statements
'require-jsdoc': 0,
'max-len': [2, { "code": 200 }],
'new-cap': 0,
'one-var': 0,
'valid-jsdoc': 0, //we should probably enable this, but while getting removing other linting errors it is nice to not add to it
'no-throw-literal': 0 // Disabled for now. We should go through all errors thrown at some point
}
};
module.exports = config;