22 lines
521 B
JavaScript
22 lines
521 B
JavaScript
module.exports = {
|
|
'env': {
|
|
'es6': true,
|
|
'node': true,
|
|
},
|
|
'extends': [
|
|
'google',
|
|
],
|
|
'globals': {
|
|
'Atomics': 'readonly',
|
|
'SharedArrayBuffer': 'readonly',
|
|
},
|
|
'parserOptions': {
|
|
'ecmaVersion': 2018,
|
|
'sourceType': 'module',
|
|
},
|
|
'rules': {
|
|
'max-len': ['error', {'code': 180}],
|
|
'new-cap': ['error', {'capIsNewExceptions': ['ENUM', 'ARRAY', 'TEXT', 'STRING', 'ObjectId']}],
|
|
},
|
|
};
|
|
|