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

Rule Proposal: vue/class-order #885

Closed
1 of 4 tasks
mchmurski-rms opened this issue May 1, 2019 · 1 comment
Closed
1 of 4 tasks

Rule Proposal: vue/class-order #885

mchmurski-rms opened this issue May 1, 2019 · 1 comment

Comments

@mchmurski-rms
Copy link
Contributor

Please describe what the rule should do:
enforce classnames alphabetical order

What category should the rule belong to?

  • Enforces code style
  • Warns about a potential error
  • Suggests an alternate way of doing something
  • Other (please specify:)

Provide 2-3 code examples that this rule should warn about:

<template><div class="b a"></div></template>
<template><div class="a c b"></div></template>

Additional context

When working with classes provided by design system, having a fixed order improves visibility.

@ota-meshi
Copy link
Member

I close this issue because we merged #886.

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

2 participants