-
Notifications
You must be signed in to change notification settings - Fork 53
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
Feature request: Empty line setting for minimum required properties #11
Comments
@justrhysism great idea, I've been wanting the same thing. I often find my selector rules to have lots of single-line groups which is kind of weird. I did a quick peek at the source and ran tests ( Would you want to try pairing on it? |
My time is limited (young kids consuming life) but I think this feature would be super useful (as is the entire plugin) so am happy to contribute :) - assuming the author is happy to accept. |
@jm3 alright so I've taken an initial look at this, and have realised that this plugin is basically just a configurator on top of stylelint-order. The properties-order rule has an option It appears that to get this feature in this plugin, we're going to need to add it to that plugin. |
Link back: hudochenkov/stylelint-order#86 |
So took me a while to get there as I had to add the feature to |
Any movement on this? Is there a way we could use this new option while we wait for the rational order to be updated? |
@zeorin not sure, the project seems to be abandoned :( |
I like separating the properties into rational groups with lines in between - however when there's only a handful (< 3 || 4) of properties the gaps are a bit unwieldily and it makes it difficult to reason.
Suggestion: a minimum property setting for enacting the empty lines.
The text was updated successfully, but these errors were encountered: