CSS rules to restrict allowed declarations #5291
thibaudcolas
started this conversation in
Rule suggestion
Replies: 3 comments 2 replies
-
Copying @Venefilyn’s original reply:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Here are some CSS rules about disabling various things that I would like to see in Biome:
|
Beta Was this translation helpful? Give feedback.
2 replies
-
@jelly Has experimented a bit over the weekend to support logical properties |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Moving from ✅ Linter rules from other sources – here’s a family of CSS rules reliant on configuration that I’d find it hard to work without:
My use cases are to encourage:
margin-inline-start
instead ofmargin-left
;text-align: end
instead oftext-align: right
; etc)em
,rem
, etc) because pixel font sizes don’t support text resizingforced-color-adjust
, notext-transform: uppercase
).Sample configuration using those rules
Source: stylelint-config-wagtail index.js
Beta Was this translation helpful? Give feedback.
All reactions