It's been a while since the last release. One new metric was added - average selectors length (#62).
analyze-css will now notify on accidental property resets (#85):
.foo {
background-color: red;
background: url(images/bg.gif) no-repeat top right;
}
will yield (via propertyResets
metric offenders):
.foo: "background" resets "background-color" property set earlier
Enhancements
- #62 - New metric: average selectors length
- #84 - CSS parsing error handling
- #85 - Detect accidental property resets
- #98 - added position dump for unparsed selectors (by @mbardauskas)
- #103 - Basic auth (by @gmetais)
Bug fixes
- #88 -
redundantChildNodesSelectors
is missing tr-td and tr-th - #99 - Handle exceptions thrown during rules parsing