25 lines
451 B
JavaScript
25 lines
451 B
JavaScript
|
module.exports = {
|
||
|
root: true,
|
||
|
parserOptions: {
|
||
|
ecmaVersion: 2017,
|
||
|
sourceType: 'module',
|
||
|
"ecmaFeatures": {
|
||
|
"experimentalObjectRestSpread": true
|
||
|
}
|
||
|
},
|
||
|
extends: 'eslint:recommended',
|
||
|
env: {
|
||
|
browser: true,
|
||
|
es6: true,
|
||
|
},
|
||
|
rules: {
|
||
|
"no-unused-vars": ["error", { "ignoreRestSiblings": true }]
|
||
|
},
|
||
|
globals: {
|
||
|
base64js: true,
|
||
|
TextEncoderLite: true,
|
||
|
TextDecoderLite: true,
|
||
|
Duration: true
|
||
|
}
|
||
|
};
|