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

Add "style guide" to docs #358

Closed
FloEdelmann opened this issue May 10, 2020 · 1 comment
Closed

Add "style guide" to docs #358

FloEdelmann opened this issue May 10, 2020 · 1 comment

Comments

@FloEdelmann
Copy link

FloEdelmann commented May 10, 2020

What problem does this feature solve?

It would be helpful to have a style guide, similar to Vue's (https://vuejs.org/v2/style-guide/), so that arbitrary choice in Nuxt.js apps is further reduced. Those guidelines could be enforced with a linter, like ESLint or its Vue Plugin.

In particular, a "Component options order" rule came to my mind (similar to https://vuejs.org/v2/style-guide/#Component-instance-options-order-recommended). I've already opened a PR (#1107) to eslint-plugin-vue. Please comment there on the suggested order.

@ghost ghost added the feature-request label May 10, 2020
@debs-obrien debs-obrien removed this from To do in nuxtjs.org website Aug 24, 2020
@debs-obrien debs-obrien added this to In discussion in nuxtjs.org website Aug 24, 2020
Copy link
Member

Atinux commented Jan 18, 2021

Closing since the PR is merged, thank you @FloEdelmann

@Atinux Atinux closed this as completed Jan 18, 2021
nuxtjs.org website automation moved this from In discussion to Done Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants