Pergunta

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.

Foi útil?

Solução

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

jshint

Outras dicas

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/

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top