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

Former-commit-id: 61317f20c41318d0daa062c917321405ad21f91c
This commit is contained in:
haoxr
2022-11-08 22:49:13 +08:00
parent 0bfdcc8de5
commit e9f767e9e3

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: [