JQuery lint

Jun 1, 2011 at 4:03 PM
Edited Jun 1, 2011 at 4:05 PM

I write a lot of jQuery plugins, and follow jQuery's adaptaion of JSLint; in case I ever decide to submit any of my plugins or changes to any of the jQuery projects. Is there any way I can add support for jQuery lint rules? I'm speaking of the rules applied from official jQuery authors, like:



I really like the stipulations they impose on JSlint and the reasoning behind them.

Jul 15, 2011 at 12:09 AM

Implementing jQuery Lint would be really great.

Jul 23, 2011 at 3:51 PM

I have used this linter myself.. please note

"jQuery Lint is a runtime reporter"


this means it intercepts live calls whilst your website is running and sees if you are doing anything bad, instead of analysis static code.


For this reason it is unsuitable to include in this project (/impossible to include...)

Jul 23, 2011 at 7:53 PM

I was not speaking of the jQuery lint script itself, rather the jQuery Lint specification/style. Which is a bit different from pure JS Lint specs, but still makes sense for writing jQuery plugins, or any JS scripts in general