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
You need to see on the console. Lint automatically runs.
Describe the bug
1. vue/multi-word-component-name rule
Default this off on nuxt pages and layers folder, but it not working in .playground folder.
pages/index.vue has no error, but the same file in playground (.playground/pages/index.vue) has error.
2. vue/no-multiple-template-root rule
Default this is error on nuxt pages and layers folder, but it not working in .playground folder.
pages/multiple-template-root.vue has error, but the same file in playground (.playground/pages/multiple-template-root.vue) has no error.
Additional context
The problem is the nuxt/disables/routes and nuxt/vue/single-root use a generated files path instead of using a general glob path.
The right one is the following:
Logs
The text was updated successfully, but these errors were encountered:
Environment
Base repo from nuxt layer template with the following command:
npx nuxi init --template layer nuxt-layer
Package
@nuxt/eslint
Reproduction
https://stackblitz.com/~/github.com/GaborTorma/nuxt-eslint-playground-error
You need to see on the console. Lint automatically runs.
Describe the bug
1.
vue/multi-word-component-name
ruleDefault this off on nuxt pages and layers folder, but it not working in
.playground
folder.pages/index.vue
has no error, but the same file in playground (.playground/pages/index.vue
) has error.2.
vue/no-multiple-template-root
ruleDefault this is error on nuxt pages and layers folder, but it not working in
.playground
folder.pages/multiple-template-root.vue
has error, but the same file in playground (.playground/pages/multiple-template-root.vue
) has no error.Additional context
The problem is the
nuxt/disables/routes
andnuxt/vue/single-root
use a generated files path instead of using a general glob path.The right one is the following:
Logs
The text was updated successfully, but these errors were encountered: