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

Former-commit-id: 61317f20c41318d0daa062c917321405ad21f91c
This commit is contained in:
haoxr committed 2022-11-08 22:49:13 +08:00
1 parent 0bfdcc8de5
commit e9f767e9e3
1 file changed
+3 -1
+3 -1
View File
@@ -7,7 +7,9 @@ module.exports = {
globals: { globals: {
defineProps: 'readonly', defineProps: 'readonly',
defineEmits: 'readonly', defineEmits: 'readonly',
defineExpose: 'readonly' defineExpose: 'readonly',
DialogType: "readonly",
OptionType: "readonly",
}, },
parser: 'vue-eslint-parser', parser: 'vue-eslint-parser',
extends: [ extends: [