2018-07-12 11:50:47 +02:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 2017,
|
|
|
|
sourceType: 'module'
|
|
|
|
},
|
|
|
|
globals: {
|
2019-03-26 16:02:08 +01:00
|
|
|
'process': true,
|
|
|
|
'gon': true
|
2018-07-12 11:50:47 +02:00
|
|
|
},
|
|
|
|
plugins: ['prettier'],
|
|
|
|
extends: ['eslint:recommended', 'prettier'],
|
|
|
|
env: {
|
2018-10-16 10:49:00 +02:00
|
|
|
es6: true,
|
2018-07-12 11:50:47 +02:00
|
|
|
browser: true
|
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
'prettier/prettier': 'error'
|
2018-09-12 10:40:12 +02:00
|
|
|
},
|
|
|
|
overrides: [
|
|
|
|
{
|
2018-11-08 15:43:42 +01:00
|
|
|
files: ['config/webpack/**/*.js'],
|
2018-09-12 10:40:12 +02:00
|
|
|
env: {
|
|
|
|
node: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2018-07-12 11:50:47 +02:00
|
|
|
};
|