Y
Hacker News
new
|
ask
|
show
|
jobs
by
mehrdadn
2251 days ago
Warnings seem like the way to go for this? i.e. having a static analyzer to check that the specificity matches the declaration order. (Assuming that's possible... it's not obvious to me if there are theoretical roadblocks.)
1 comments
stefanfisk
2251 days ago
Stylelint actually has this already!
https://stylelint.io/user-guide/rules/no-descending-specific...
link