27 lines
629 B
JavaScript
27 lines
629 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
'vue/setup-compiler-macros': true
|
|
},
|
|
extends: [
|
|
'plugin:vue/vue3-essential',
|
|
'@vue/standard'
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: 2020,
|
|
parser: '@babel/eslint-parser',
|
|
requireConfigFile: false
|
|
},
|
|
rules: {
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'vue/multi-word-component-names': 'off'
|
|
},
|
|
globals: {
|
|
defineProps: 'readonly',
|
|
defineEmits: 'readonly',
|
|
defineExpose: 'readonly',
|
|
withDefaults: 'readonly'
|
|
}
|
|
}
|