Richard Hallows
Richard Hallows
Here's a version of the rule that uses the PostCSS Selector parser to account for some of the cases I've highlighted above, especially around preserving comments and whitespace. It simplifies...
@MariaSolOs Thank you for the suggestion. Automatically removing the needless disable comments would be helpful. We'll probably want to introduce a new option, rather than overload the current [`fix` option](https://stylelint.io/user-guide/options#fix),...
That's another approach that could work. Although, am I right in thinking it'd mean autofix is only available to people configuring `reports*` in the configuration object? ```javascript export default {...
@charlessuh Thanks for the request and for using the template. I believe you can enforce that convention using: ```json { "rules": { "declaration-empty-line-before": [ "always", { "except": ["after-declaration", "first-nested"], "ignore":...
Not currently. I suspect this request hasn't come up before as [the nesting spec](https://drafts.csswg.org/css-mixins/#apply-rule) recommends against putting blocks first: > While one can freely intermix declarations and nested rules, it’s...