feat(.eslintrc.js): 添加全局变量

This commit is contained in:
haoxr 2022-11-08 22:49:13 +08:00
parent f5a697443d
commit 61317f20c4
1 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,9 @@ module.exports = {
globals: {
defineProps: 'readonly',
defineEmits: 'readonly',
defineExpose: 'readonly'
defineExpose: 'readonly',
DialogType: "readonly",
OptionType: "readonly",
},
parser: 'vue-eslint-parser',
extends: [