Paul Krill
Editor at Large

CSS checker helps developers clean up their code

news
Jun 15, 20112 mins

The CSS Lint online tool does syntax checking and helps developers find bugs by applying pluggable rules

CSS Lint, an online tool for checking Cascading Style Sheets coding, has been made open source and is now readily accessible, a designer of the tool announced on Wednesday.

Available at csslint.net, where the application is billed as hurting developers’ feelings but helping them code better, CSS Lint provides automated “linting” of Cascading Style Sheets. “It automatically finds bugs that otherwise would make it into production,” said tool designer Nicole Sullivan, president of Stubbornella Consulting, at the O’Reilly Velocity 2011 conference in Santa Clara, Calif. She designed the tool in collaboration with Web software engineer Nicholas Zakas.

“CSS Lint is a tool to help point out problems with your CSS code,” a description of the technology states on the GitHub repository. “It does basic syntax-checking as well as applying a set of rules to the code that look for problematic patterns or signs of inefficiency. The rules are all pluggable, so you can easily write your own or omit ones you don’t want.”

Sullivan believes CSS Lint is the first tool of its kind for CSS. “There are tools like that for JavaScript,” such as JSLint, she said. A World Wide Web consortium specification, CSS provides a mechanism for adding style, such as fonts, colors, and spacing, to Web documents.

Also at the conference Wednesday, Keynote Systems previewed enhancements to the company’s Mobile Device Perspective performance-monitoring platform, providing the ability to remotely connect and control live smartphones. Users can remotely observe scripts running on devices to verify normal functioning. Smartphone features can be tracked and users can interact with mobile applications in real time. A self-service scripting feature in the upgrade will allow users to shorten time needed to deploy scripts and test use cases. Also, a dashboard features one-click drill-down for screenshot analysis.

This article, “CSS checker helps developers clean up their code,” was originally published at InfoWorld.com. Follow the latest developments in business technology news and get a digest of the key stories each day in the InfoWorld Daily newsletter. For the latest developments in business technology news, follow InfoWorld.com on Twitter.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author