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

Former-commit-id: 61317f20c4
This commit is contained in:
haoxr 2022-11-08 22:49:13 +08:00
parent 0bfdcc8de5
commit e9f767e9e3
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: [