n-link/.eslintrc.js

19 lines
413 B
JavaScript
Raw Normal View History

2020-09-21 21:08:20 +00:00
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'eslint:recommended',
'@vue/typescript/recommended'
],
parserOptions: {
ecmaVersion: 2020
},
rules: {
2020-09-27 18:45:54 +00:00
'no-console': process.env.NODE_ENV === 'production' ? ['warn', { allow: ['warn', 'error'] }] : 'off',
2020-09-21 21:08:20 +00:00
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
}
}