xojs / stylelint-config-xo

Stylelint shareable config for XO
MIT License
42 stars 6 forks source link

Allow `border-radius: 0;` #17

Closed FloEdelmann closed 1 year ago

FloEdelmann commented 1 year ago

border-radius, border-top-left-radius and similar properties are currently not allowed by this Stylelint config to have a 0 value, with the comment to use none instead. However, the none keyword is not allowed in the CSS standard: https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius#syntax

This PR excludes border-radius, border-top-left-radius, etc. from this disallowed value list.

FloEdelmann commented 1 year ago

Thanks for merging :) Would it be possible to add the hacktoberfest-accepted label to this PR?

sindresorhus commented 1 year ago

Done

FloEdelmann commented 1 year ago

Thank you 😊