We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We should not have those warning with Nuxt since we do prefix by default:
You can test easily on https://github.com/nuxtlabs/nuxtlabs.com/tree/eslint-config @danielroe with running npm run lint
npm run lint
The text was updated successfully, but these errors were encountered:
@nuxt/eslint
components
I stumbled on this today. I'm setting a custom prefix in nuxt.config
nuxt.config
export default defineNuxtConfig({ modules: ['@nuxt/eslint'], components: [{ path: '/components', prefix: 'CB' }], })
With the following file tree
| components | --- Logo.vue
I get the following error
D:\my-base-layer\components\Logo.vue 1:1 error Component name "Logo" should always be multi-word vue/multi-word-component-names
Removing the custom prefix from the config and moving all the components to components/CB folder yields the same error
components/CB
Sorry, something went wrong.
The issue should be solved with the 0.3 rewrite and no longer relevant.
@MuhammadM1998 Please create another issue with minimal reproduction. Thanks.
@antfu I've created a reproduction and an issue #419
Successfully merging a pull request may close this issue.
We should not have those warning with Nuxt since we do prefix by default:
You can test easily on https://github.com/nuxtlabs/nuxtlabs.com/tree/eslint-config @danielroe with running
npm run lint
The text was updated successfully, but these errors were encountered: