csstools / stylelint-use-logical

Enforce usage of logical properties and values in CSS
Creative Commons Zero v1.0 Universal
59 stars 9 forks source link

Detect `width` and `height` #18

Closed kagankan closed 1 year ago

kagankan commented 1 year ago

Thank you for developing useful plugin! 😍


width and height are not warned by this plugin.

We should use block-size instead of height, and inline-size instead of width

See: https://developer.mozilla.org/en-US/docs/Web/CSS/block-size https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size