KoJSLint
Komodo (IDE/Edit) extension to integrating with JSLint providing lint warnings/errors/function report and automatically fixing some common jslint warnings.
Once installed, the extension can be accessed via Tools -> JS Lint. The jslint run command can be assigned a shortcut key.
I’d like to thank Ben Smawfield for allowing me to fork kjslint to become this komodo extension.
FEATURES
- provide UI to modify all available JSLint options
- save jslint options as profiles (called modes) which are shared for all files/projects
- add/delete profiles (modes)
- auto-fix some common jslint warnings
- all jslint warnings on the same line are grouped in the “JSLint errors” output tab
- profiles can be locked (it can’t be changed/deleted until unlocked)
- bundled with JSLint 2010-12-08
AutoFix
To access the AutoFix feature, right click on a row in the “JSLint errors” output tab to auto fix that particular warning. If you are auto-fixing multiple warnings on the same line, try to begin with the last warning for that particular line, and move backward.
Download/Install
This extension can be installed through Tools -> Add-ons, Get Add-ons tab.
SOURCE/BUGS/LICENSE
Source code is available from github.
KoJSLint is licensed under Mozilla Public License 1.1 (MPL), except the jslint.js file which is covered by the license block at the top of that file.
If something is not working properly, please try to post all relevant error messages in the Error Console (see Debug komodo extensions on how to enable that) with your bug report.