Open nzakas opened 13 years ago
Too many = ?
If I understand the problem correctly, the idea is to count the occurences of both margin: 0 and padding:0 in a rule. If this is more than "x" times, warn that a reset.css / normalize,css could be beneficial. Maybe we can generalize this to "When a certain property is set more than X times, use a CSS system like OOCSS, SMACSS, etc to enhance the structure".
Too many declarations indicates a need for reset stylesheet.