eslint-config icon indicating copy to clipboard operation
eslint-config copied to clipboard

GlobalComponents + 'vue/component-name-in-template-casing'

Open chenyulun opened this issue 7 months ago • 5 comments

Clear and concise description of the problem

全局的组件,有没有办法要求使用的时候必须PascalCase 全局注入的组件是unplugin-vue-components自动注入的,但是没办法限制组件里面的写法必须是PascalCase 有生成typescript的声明文件components.d.ts

Suggested solution

unplugin-vue-components联动一下,能识别全局组件

Alternative

No response

Additional context

No response

Validations

  • [X] Follow our Code of Conduct
  • [X] Read the Contributing Guide.
  • [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

chenyulun avatar Jul 23 '24 11:07 chenyulun