sbt / sbt-jshint

Allows jslint to be used from within sbt. Builds on com.typesafe:webdriver in order to execute jslint.js along with the scripts to verify
Other
21 stars 20 forks source link

Using multiple .jshintrc files pro project #26

Open AlexanderRay opened 9 years ago

AlexanderRay commented 9 years ago

Hi, how can I use multiple .jshintrc files per project?

jshint supports it:

"In case of .jshintrc, JSHint will start looking for this file in the same directory as the file that's being linted. If not found, it will move one level up the directory tree all the way up to the filesystem root. (Note that if the input comes from stdin, JSHint doesn't attempt to find a configuration file). ... This setup allows you to have different configuration files per project. " http://jshint.com/docs/