des-new/.eslintrc.js

29 lines
473 B
JavaScript
Raw Normal View History

2020-02-16 10:41:17 +00:00
module.exports = {
root: true,
env: {
node: true
},
extends: [
'plugin:vue/essential',
'@vue/standard'
],
parserOptions: {
parser: 'babel-eslint'
},
rules: {
2020-02-24 12:26:19 +00:00
'no-console':'off',
2020-02-16 10:41:17 +00:00
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
overrides: [
{
files: [
'**/__tests__/*.{j,t}s?(x)',
'**/tests/unit/**/*.spec.{j,t}s?(x)'
],
env: {
jest: true
}
}
]
}