Skip to content
New issue

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

Disable multiword-rule for error.vue #201

Closed
olivervorasai opened this issue Mar 17, 2022 · 2 comments
Closed

Disable multiword-rule for error.vue #201

olivervorasai opened this issue Mar 17, 2022 · 2 comments

Comments

@olivervorasai
Copy link

olivervorasai commented Mar 17, 2022

Nuxt 3 added support for error.vue in the source directory. https://v3.nuxtjs.org/docs/usage/error-handling#rendering-an-error-page

This is caught by ESLint:
image

I think this file should be ignored in the same manner in which app.vue is not caught by this rule.

Another possible solution would be to add this specific file to the rule overrides as done in #190 (although this assumes that error.vue never changes from this point forward).

Copy link
Member

Atinux commented Mar 21, 2022

Would love to have your thoughts @danielroe

@danielroe
Copy link
Member

Yes, I agree with @olivervorasai 👍

@pi0 pi0 closed this as completed in bbb0e27 May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants