سؤال

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