lomadurov / netbeans-jslint

JSLint plugin for NetBeans. JSLint is a JavaScript program that looks for problems in JavaScript programs. It is a code quality tool.
http://plugins.netbeans.org/plugin/40893/?show=true
MIT License
32 stars 7 forks source link

Add assume jQuery #4

Open Vitzkrieg opened 11 years ago

Vitzkrieg commented 11 years ago

Can an option to assume jQuery be added?

lomadurov commented 11 years ago

Add this at the top of your document to get it to validate:

/*global  $, jQuery*/

// ...
lomadurov commented 11 years ago

Also you can write variables to predefined field in options of JSLint predefined

Vitzkrieg commented 11 years ago

Great! Thanks for the tip.