PicList/.eslintrc.js
2019-12-19 19:17:21 +08:00

24 lines
493 B
JavaScript

module.exports = {
root: true,
globals: {
__static: 'readonly'
},
env: {
node: true
},
parser: "vue-eslint-parser",
'extends': [
'plugin:vue/essential',
'@vue/standard',
'@vue/typescript'
],
'plugins': ['@typescript-eslint'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'off' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: '@typescript-eslint/parser'
}
}