Repository navigation
CSS rules to restrict allowed declarations #5291
thibaudcolas
started this conversation in
Rule suggestion
Replies: 3 comments 4 replies
|
Copying @Venefilyn’s original reply:
|
0 replies
|
Here are some CSS rules about disabling various things that I would like to see in Biome:
|
2 replies
|
@jelly Has experimented a bit over the weekend to support logical properties |
2 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-startinstead ofmargin-left;text-align: endinstead 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
All reactions