feat(.eslintrc.js): 添加全局变量
This commit is contained in:
parent
f5a697443d
commit
61317f20c4
|
|
@ -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: [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue