-
Notifications
You must be signed in to change notification settings - Fork 3.4k
docs: revamp Style Guide #2839
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
base: master
Are you sure you want to change the base?
docs: revamp Style Guide #2839
Conversation
Preview available at https://deploy-preview-2839--vuejs.netlify.app/v2/style-guide/. |
@phanan fair warning: as the PR is quite big, the review will take some time 😅 |
Totally understand. However, I’d strongly suggest looking at the deploy
preview instead (or use it as the main ref), as the git diff makes little
sense 😅
…On Sun 20. Jun 2021 at 16:43 Natalia Tepluhina ***@***.***> wrote:
@phanan <https://github.com/phanan> fair warning: as the PR is quite big,
the review will take some time 😅
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2839 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB5O3UVP2LVKZX5FA7CBX73TTX475ANCNFSM47AEAW4A>
.
|
This would have an impact on eslint-plugin-vue in a way, as the presets offered by this plugin are named after the current priorities naming scheme. So if we merge this, we should also adjust at least the plugin docs to mention how which preset maps to which section of the style guide. |
I’m not familiar with eslint-plugin-vue admittedly, but all the rules are
kept as-is, only re-organized.
…On Sun 20. Jun 2021 at 19:29 Thorsten Lünborg ***@***.***> wrote:
This would have an impact on eslint-plugin-vue in a way, as the presets
offered by this plugin are named after the current priorities naming scheme.
So if we merge this, we should also adjust at least the plugin docs to
mention how which preset maps to which section of the style guide.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2839 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB5O3UXBQE7BAAENRCODNJLTTYQN5ANCNFSM47AEAW4A>
.
|
To clarify:
So we might want to consider coordinating this change with a change of language in the eslint plugin to keep this relationship transparent. Also, and this might be the bigger issue, the eslint plugin docs link back to the style guide for each rule that has a matching entry there, see for example: https://eslint.vuejs.org/rules/component-definition-name-casing.html#further-reading So we should take care that we either:
|
@LinusBorg Good point. TBH I'm not sure which direction to take. @yyx990803 @ota-meshi WDYT? |
I don't think we probably need to redirect. I think we need to update the link from the eslint-plugin documentation. I think the style guides need a "How to read the guides" section, just like the Dart documentation. After that, I think the eslint-plugin will need to reconfigure the presets in the next major version as follows:
However, the e.g.
I have a question that is not related to eslint. Do the |
As discussed, this is my attempt to revamp our Style Guide with inspirations taken from Dart. The list of changes is as follow: