Tuesday, May 8, 2012

Javascript Gentleman Rule #3: Lint

We're all human and humans make mistakes.

You may not be perfect but you can make sure your code is by using linters. A tool will make sure that your code and everyone else in your team has code that reads the same.

There are three choices for javascript:

For Coffeescript:

For CSS:

Also have a look in google for your IDE and "lint". You should be able to find a good extension that will allow you to lint your files on save - or even live like SublimeLint. You might also like to take a look at Holmes

No comments:

Post a Comment