demarches-normaliennes/.eslintrc.js
2019-04-02 17:33:53 +02:00

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
}
}
]
};