2018-04-03 14:16:57 +00:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 2017,
|
|
|
|
sourceType: 'module',
|
2018-07-18 14:13:39 +00:00
|
|
|
ecmaFeatures: {
|
|
|
|
experimentalObjectRestSpread: true,
|
|
|
|
},
|
2018-04-03 14:16:57 +00:00
|
|
|
},
|
|
|
|
extends: 'eslint:recommended',
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es6: true,
|
|
|
|
},
|
|
|
|
rules: {
|
2018-07-18 14:13:39 +00:00
|
|
|
'no-unused-vars': ['error', { ignoreRestSiblings: true }],
|
2018-04-03 14:16:57 +00:00
|
|
|
},
|
|
|
|
globals: {
|
|
|
|
TextEncoderLite: true,
|
|
|
|
TextDecoderLite: true,
|
2018-07-18 14:13:39 +00:00
|
|
|
},
|
2018-04-03 14:16:57 +00:00
|
|
|
};
|