2018-07-27 17:31:39 +02:00
|
|
|
module.exports = {
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
commonjs: true,
|
|
|
|
es6: true,
|
|
|
|
node: true,
|
|
|
|
mocha: true,
|
|
|
|
},
|
|
|
|
extends: 'eslint:recommended',
|
|
|
|
parserOptions: {
|
|
|
|
sourceType: 'module',
|
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
'comma-dangle': ['error', 'always-multiline'],
|
|
|
|
indent: ['error', 4],
|
|
|
|
'linebreak-style': ['error', 'unix'],
|
2019-05-09 06:48:10 +02:00
|
|
|
quotes: ['error', 'double'], // Easier for Go developers!
|
2018-07-27 17:31:39 +02:00
|
|
|
semi: ['error', 'always'],
|
|
|
|
'no-unused-vars': ['warn'],
|
|
|
|
'no-console': 0,
|
2019-12-03 13:08:48 +01:00
|
|
|
'no-prototype-builtins': 0,
|
2018-07-27 17:31:39 +02:00
|
|
|
},
|
2019-05-09 06:18:22 +02:00
|
|
|
};
|