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

Do not enforce shorthand properties? Enforce longhand? #170

Open
EvgenyOrekhov opened this issue Nov 22, 2023 · 0 comments
Open

Do not enforce shorthand properties? Enforce longhand? #170

EvgenyOrekhov opened this issue Nov 22, 2023 · 0 comments

Comments

@EvgenyOrekhov
Copy link
Member

It feels like some shorthand properties are cryptic.

Also shorthand values like 1rem 2rem 0.5rem or 1rem / 2rem always confuse me.

See:

Since we use stylelint-config-recess-order, longhand properties will always be grouped.

3 options:

  1. Do not enforce shorthand properties
  2. Enforce longhand properties
  3. Enforce some longhand properties, do not enforce others

Related rules:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant