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 :)
JSHint is a program that flags suspicious usage in programs written in JavaScript. The core project consists of a library itself as well as a CLI program distributed as a Node module.
Warning This option has been deprecated and will be removed in the next major release of JSHint. JSHint is limiting its scope to issues of code correctness. If you would like to enforce rules relating to code style, check out the JSCS project.
In October 2013 jshint added a way to ignore blocks of code like this: // Code here will be linted with JSHint. /* jshint ignore:start */ // Code here will be ignored by JSHint. /* jshint ignore:end */ // Code here will be linted with JSHint.
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With