Вопрос

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