Skip to content

Add ignore: ["after-custom-property"] to custom-property-empty-line-before #8615

@imkesin

Description

@imkesin

What is the problem you're trying to solve?

I'd like to be able to group my custom properties together, but still clearly separate them from other properties.

a {
 
  top: 5px;

  --foo: pink;
  --bar: red;
}

What solution would you like to see?

I'm proposing reaching functionality parity with declaration-empty-line-before; the rule supports after-declaration as a fourth option in 'ignore'.

This option is missing from custom-property-empty-line-before.

(I have a PR ready with the necessary changes)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions