You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Package is @nuxt/eslint-config issue form is outdated
Use new Nuxt 4 Folder Structure
Describe the bug
Component Button inside app/components/base/Button.vue throws error Component name "Button" should always be multi-word..
Using the old folder structure this doesn't throw because it shouldnt as the component would be used as BaseButton (which is multi word)
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info.
Please provide a minimal reproduction to reopen the issue.
Thanks.
/eslint-test/src/app/components/base/Button.vue
1:1 error Component name "Button" should always be multi-word vue/multi-word-component-names
/eslint-test/src/app/pages/index.vue
1:1 error Component name "index" should always be multi-word vue/multi-word-component-names
Environment
Darwin
v20.15.0
3.12.4
3.12.0
-
[email protected]
-
future
,compatibilityDate
,devtools
,modules
,colorMode
@nuxtjs/[email protected]
,@nuxtjs/[email protected]
,@pinia/[email protected]
,@eschricht/[email protected]
-
Package
None
Reproduction
Package is
@nuxt/eslint-config
issue form is outdatedUse new Nuxt 4 Folder Structure
Describe the bug
Component
Button
insideapp/components/base/Button.vue
throws errorComponent name "Button" should always be multi-word.
.Using the old folder structure this doesn't throw because it shouldnt as the component would be used as
BaseButton
(which is multi word)Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: