28 lines
443 B
JavaScript
28 lines
443 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parserOptions: {
|
|
ecmaVersion: 2017,
|
|
sourceType: 'module'
|
|
},
|
|
globals: {
|
|
'process': true,
|
|
'gon': true
|
|
},
|
|
plugins: ['prettier'],
|
|
extends: ['eslint:recommended', 'prettier'],
|
|
env: {
|
|
es6: true,
|
|
browser: true
|
|
},
|
|
rules: {
|
|
'prettier/prettier': 'error'
|
|
},
|
|
overrides: [
|
|
{
|
|
files: ['config/webpack/**/*.js'],
|
|
env: {
|
|
node: true
|
|
}
|
|
}
|
|
]
|
|
};
|