24 lines
593 B
JavaScript
24 lines
593 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true
|
|
},
|
|
extends: ['plugin:vue/vue3-essential', '@vue/standard'],
|
|
parserOptions: {
|
|
parser: '@babel/eslint-parser'
|
|
},
|
|
rules: {
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
indent: 0,
|
|
'space-before-function-paren': 0
|
|
},
|
|
// The Follow configs works with eslint-plugin-vue v7.x.x
|
|
globals: {
|
|
defineProps: 'readonly',
|
|
defineEmits: 'readonly',
|
|
defineExpose: 'readonly',
|
|
withDefaults: 'readonly'
|
|
}
|
|
}
|