CSS Lint v0.6.0 now available
Following quickly on the heels of the v0.5.0 release, here comes the v0.6.0 release. This release saw a lot of activity around bug fixing, refactoring to make things easier, and documentation. Some of the highlights of this release:
- New Rule: Mike Hopley suggested we add a rule that could suggest shorthand properties when all dimensions of
margin
andpadding
were provided as separate properties. That rule has been added. - Kasper Garnæs and Tomasz Oponowicz each contributed some cleanup code to the various XML formats the CLI supports, ensuring that proper escaping happened.
- Kasper also submitted the
checkstyle-xml
output format for use with Checkstyle. - Cillian de Róiste contributed a fix for the Node.js CLI that ensures it will now handle absolute file paths correctly.
- Eric Wendelin implemented the
csslint-xml
output format for compatibility with Jenkins Violations. - Julien Kernec’h added some missing CSS properties to the rule that checks for valid properties.
- I took a first pass at creating a developer guide for CSS Lint, explaining how the code is organized and how the build system works.
The complete changelog can be found at GitHub. If you’re using the Node.js version of CSS Lint, you can update your version via:
npm update csslint
Please keep those submissions and issues coming. The GitHub issue tracker is the best way to get our attention. We’d also love to hear about how you’re integrating CSS Lint into your build system, feel free to drop us a line on the mailing list and tell us what you’ve been up to.