Is there a stylelint rule to obtain the following?
I've read the documentation but I wasn't unable to find one
/* bad */
a {
color: pink;
}
/* good */
a {
color: pink;
}
This solves my issue
"declaration-empty-line-before": ["always", {
"except": ["first-nested"],
"ignore": ["after-comment", "after-declaration"]
}],
Ref: https://stylelint.io/user-guide/rules/declaration-empty-line-before/#first-nested
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With