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

ESLint warning on code resulted from Get Started step #2049

Open
handreistoicescu opened this issue Apr 2, 2022 · 0 comments
Open

ESLint warning on code resulted from Get Started step #2049

handreistoicescu opened this issue Apr 2, 2022 · 0 comments

Comments

@handreistoicescu
Copy link
Contributor

After creating the fun.vue file in the pages directory (as instructed here) and subsequently adding some code to it, the user will be presented with an ESLint warning because of the rule vue/multi-word-component-names.

I'm not sure if it's intended for first-time users to encounter such a warning while following the guide. I have a feeling this is not optimal, and could be hurting the initial experience of the framework and the adoption rate, for that matter.

Proposed solutions (either of)

  • disable the rule for components within the pages directory
  • change the docs to instruct the user on creating a fun-times file (or other multi-word filename)

Screenshot

ESLint warning

WDYT?

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

1 participant