2

According to GitHub JSHint, Configuration File Support For Rhino Wrapper #704 issues was closed and support for configuration file was provided [https://github.com/jshint/jshint/issues/704]

I am using Rhino1_7R4 and jshint-rhino-2.5.2.js Trying to execute this cmd line - java -jar rhino.jar jshint.js samplefile.js --configure=config.json

but none of the options I specified in the config file seems to take effect.

This is my config.json file:

{
    "maxerr"        : 150,       
    "asi"           : true,     
    "expr"          : true     
}

Also, when trying to specify multiple options via command line, only the first one seems to take effect.

java -jar rhino.jar jshint.js samplefile.js asi=true expr=true

Thanks for your help!

LeonH
  • 1,039
  • 2
  • 22
  • 45
Anna
  • 31
  • 3
  • Multiple options via command line work when comma separated java -jar rhino.jar jshint.js samplefile.js asi=true,expr=true – Anna Aug 12 '14 at 19:10
  • possible duplicate of [Parsing arguments to a Java command line program](http://stackoverflow.com/questions/7341683/parsing-arguments-to-a-java-command-line-program) – Paul Sweatte Oct 10 '14 at 00:22

0 Answers0