1 Star 0 Fork 91

yuanguolei/Fantastic-template

forked from Hooray/Fantastic-startkit 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
auto-import-eslint-config.js 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
module.exports = {
globals: {
// lifecycle
onActivated: 'readonly',
onBeforeMount: 'readonly',
onBeforeUnmount: 'readonly',
onBeforeUpdate: 'readonly',
onDeactivated: 'readonly',
onErrorCaptured: 'readonly',
onMounted: 'readonly',
onServerPrefetch: 'readonly',
onUnmounted: 'readonly',
onUpdated: 'readonly',
// reactivity
computed: 'readonly',
customRef: 'readonly',
isReadonly: 'readonly',
isRef: 'readonly',
markRaw: 'readonly',
reactive: 'readonly',
readonly: 'readonly',
ref: 'readonly',
shallowReactive: 'readonly',
shallowReadonly: 'readonly',
shallowRef: 'readonly',
toRaw: 'readonly',
toRef: 'readonly',
toRefs: 'readonly',
triggerRef: 'readonly',
unref: 'readonly',
watch: 'readonly',
watchEffect: 'readonly',
// component
defineComponent: 'readonly',
defineAsyncComponent: 'readonly',
getCurrentInstance: 'readonly',
h: 'readonly',
inject: 'readonly',
nextTick: 'readonly',
provide: 'readonly',
useCssModule: 'readonly',
// other
defineProps: 'readonly',
defineEmits: 'readonly',
defineExpose: 'readonly',
withDefaults: 'readonly',
// vue-router
useRoute: 'readonly',
useRouter: 'readonly',
// vuex
useStore: 'readonly'
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yuanguoeli/fantastic-template.git
[email protected]:yuanguoeli/fantastic-template.git
yuanguoeli
fantastic-template
Fantastic-template
master

搜索帮助