demarches-normaliennes/.eslintrc.js

27 lines
408 B
JavaScript
Raw Normal View History

module.exports = {
root: true,
parserOptions: {
ecmaVersion: 2017,
sourceType: 'module'
},
globals: {
'process': true
},
plugins: ['prettier'],
extends: ['eslint:recommended', 'prettier'],
env: {
browser: true
},
rules: {
'prettier/prettier': 'error'
2018-09-12 10:40:12 +02:00
},
overrides: [
{
files: ['config/webpack/*.js'],
env: {
node: true
}
}
]
};