Disallows the use of reserved words as variable or function declaration identifiers. Currently, no warning is given for such use of reserved words when the es5 option is set to true. See issue #744 for more details.
changed the exit handling
Respect the unused option when outputting.
Don't stop parsing the expression when it contains a number with a leading decimal point.

Since an expression of the form `var x = .5 + 1;` is perfectly valid, we should continue to parse it as normal and not raise confusing unrelated warnings. See issue #751.
Added test to ensure an expression containing a number with a leading decimal point only throws the appropriate JSHint error and no misleading ones due to non-parsing of the remainder of the expression
Merge pull request #752 from jamesallardice/leading-dot-expression

Don't stop parsing the expression when it contains a number with a leadi...
Merge pull request #746 from Pennine-View-Harrogate/wsh-unused-bug

Respect the unused option when outputting.
Merge branch 'es5-disallow-reserved-words' of git://github.com/jamesallardice/jshint into jamesallardice-es5-disallow-reserved-words
A test case for patch GH-745.

Committed as: 2a0e270b694e007eba45547805f89c05fea873e9 (merge
commit: 2a2e2adc9329207d75acb4545f4e1e0273d6f53f).
Merge branch 'master' of github.com:jshint/jshint
Split options 'indent' and 'white'.

This commit splits options 'indent' and 'white'. Before, 'indent' was
implying 'white' but many people want to use the former without the
latter. New behavior is that indentation warnings will be triggered
only if: user explicitly set an 'indent' option or user set a 'white'
option.

Closes GH-667.
Better support for comma operator.

Before when JSHint was parsing expressions inside the prefix parens
it allowed for only one expression. This patch changes the function
to allow for multiple comma-separated expressions. This helps to deal
with tons of false-positive messages that we were spitting out before
(check out the reports for lodash and prototype.js for example).

Closes GH-56.
Don't call nonadjacent function for trailing commas.

This patch prevents the false positive `Missing whitespace after...`
from happening on trailing commas. I implemented a temporary solution
because the better one, the one I'd like to have, requires quite an
overhaul.

Closes GH-363.
Fixed a regression with predef making all globals read/write.

When implementing blacklisted globals we introduced a bug where
globals assigned through predef would always be writeable. This
commit fixes that.

Closes GH-665.
Warn when a comma operator is illegally followed by a keyword.

This commit fixes an issue where JSHint would sometimes parse a
comma operator in the same way it parses semicolons. But a comma
operator cannot be followed by some keywords so we must warn about
that.

Closes GH-676.
Improved prereg detection.

prereg is a flag we set whenever the next token can possibly start
a regular expression. It is used to disambiguate between the division
operator (/) and regular expressions. Before, we were whitelisting
chars that can be followed by a regular expression but this commit
changes the behavior to blacklisting "bad" tokens.

This resolved mysterious false positives when parsing Prototype.js.

Closes GH-759.
Closes GH-760.
New directive /*exported ... */ for global variables used elsewhere.

Sometimes, especially in the browser world, people "export" variables
by leaving them global and then concatenating files together. But
JSHint doesn't know about that and complains about unused variables.

This patch (initially started by @circusbred in GH-726) introduces a
new directive, /*exported varA, varB,.. */ that can be used to tell
JSHint that variables varA and varB are intentionally global and will
be used in other files even if they are unused in the current one.

Closes GH-726.
Closes GH-659.
Make 'escapement' errors use the term 'escaping' instead.

Also clarified the language re: 'bad for in variables' to mention
why they're bad and added a test case for them.

Closes GH-736.
Closes GH-747.
Added support for a defensive semicolon before [

Example: ;[a, b, c].forEach(doSomething)

Closes GH-487
Ability to ignore any warnings.

This commit adds special syntax to the /*jshint directive making it
possible to ignore any warnings (but not errors). For example:

	/*jshint -W121 */

	var a = 12.;

The code above would raise a trailing dot warning but '-W121' suppresses
it. For advanced use only.

Closes GH-578.
Closes GH-455.
Closes GH-624.
Closes GH-683.
Closes GH-699.
Closes GH-755.