demarches-normaliennes/.eslintrc.js
2019-01-17 11:20:31 +01:00

27 lines
426 B
JavaScript

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