Complete list of default values for JSHint options?

Himanshu P picture Himanshu P · Mar 26, 2013 · Viewed 9.4k times · Source

Where can I get the complete list of JSHint default options. I tried searching online but couldn't find anything.

EDIT: I mean a list of default values for all options, in case it wasn't clear :)

Answer

Mikhail Chernykh picture Mikhail Chernykh · Mar 26, 2013

You can look on boolOptions, valOptions and invertedOptions objects directly in jshint sources:

https://github.com/jshint/jshint/blob/master/examples/.jshintrc

If you are confused with comments, you can refer to options section in jshint help:

http://jshint.com/docs/options/