demarches-normaliennes/.eslintrc.js

29 lines
443 B
JavaScript
Raw Normal View History

module.exports = {
root: true,
parserOptions: {
ecmaVersion: 2017,
sourceType: 'module'
},
globals: {
'process': true,
'gon': true
},
plugins: ['prettier'],
extends: ['eslint:recommended', 'prettier'],
env: {
2018-10-16 10:49:00 +02:00
es6: true,
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
}
}
]
};