Carter Bailey Tech Thoughts, lessons learned, and motivation

13Oct/120

Using JSLint: A Couple Suggestions and Reminders

Posted by Carter Bailey

Recently, we've been redesigning an ASP.net and VB.Net web app at work to fully utilize a Client-Side architecture instead of the usual Server-Side ASP page life cycle that comes baked into similar web apps. We've moved away from the server "owning" the data to the client's browser "owning" the data (using the JSON format), processing adjustments to that data, and making the requests to web services that handle any analyzing of the data. All that to say that I've been working heavily in Javascript, jQuery, AJAX, and various plugins that go along with those. Free, online tools like JSLint and JSONLint are invaluable tools for the client-side developer.

The following are some suggestions and reminders for situations that I've come across for using JSLint the most effectively.