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 :)
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 :)
You can look on
boolOptions
,valOptions
andinvertedOptions
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/
Actually, that page contains the list of default options, and that file mentioned in @netme's answer has no effect on JSHint's behavior. Quoting a JSHint project maintainer:
While this makes sense once you understand it, it is confusing to a lot of people (myself included), and may change in the future.