timothyneiljohnson / stylelint-value-border-zero

A custom stylelint rule to enforce a convention of 'border: 0' or 'border: none'
MIT License
2 stars 2 forks source link

Deprecate? #2

Open jeddy3 opened 8 years ago

jeddy3 commented 8 years ago

As with stylelint-value-no-padding-auto this can be achieved using stylelint's declaration-property-value-blacklist rule i.e.

{
  "declaration-property-value-blacklist": {
    "/^border/": ["none"] // or ["0"]
  }
}