katiefenn / parker

Stylesheet analysis tool.
Other
2.47k stars 73 forks source link

Declarations per rule #49

Closed glauberramos closed 8 years ago

glauberramos commented 8 years ago

It should be nice to see a measure of declarations per rule. It's a nice way to ensure you are keeping your rules small enough to be used in more than one place and to keep CSS modular.

CSS Wizardry wrote this:

Rulesets with lots of declarations are probably quite monolithic, and could/should probably be broken down into smaller composable responsibilities.