I know IntelliJ 11 has added support for JSLint, but is there a plugin for older versions that will validate js files against either JSLint or JSHint? Ideally one that will inspect the code as it is typed rather than having to be run separately.

有帮助吗?

解决方案

Try IntelliJ IDEA 11.1 EAP, it supports both JSLint and JSHint:

jshint

其他提示

I found a solution, tested with InteliJ IDEA 10.5.4 and it works. You can find step by step instructions at: http://derekscrib.wordpress.com/2011/11/18/jslint-external-tool-for-intellij/

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top