PicList/.eslintrc.js

24 lines
493 B
JavaScript
Raw Normal View History

2017-11-27 19:21:12 -05:00
module.exports = {
root: true,
2019-12-19 06:17:21 -05:00
globals: {
__static: 'readonly'
2017-11-27 19:21:12 -05:00
},
env: {
node: true
},
2019-12-19 06:17:21 -05:00
parser: "vue-eslint-parser",
'extends': [
'plugin:vue/essential',
'@vue/standard',
'@vue/typescript'
2017-11-27 19:21:12 -05:00
],
2019-12-19 06:17:21 -05:00
'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'
2017-11-27 19:21:12 -05:00
}
}