report error/warning code by default, as severity for jslint
added es3 config option and updated tests to match es3 ;
made es5 the default and updated tests to remove es5 ;
added info message to tell about es5 being default ;
added functions to encapsulate management of current version state

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
added support for asynchronous triggers defined in the lexer, but launched in the parser for correct state context handling.
removed jsonMode/jsonWarnings hacks for JSON parsing

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
added support for fat arrows ;
added application() function that handles parsing of arrow functions ;
updated functionparams/doFunction to support arrow functions ;
added tests ;

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
Added the ability to switch off indentation linting by setting the value of the indent option to 0. This allows you to ignore indentation in certain files (or even scopes, but that's less useful) but still have a global, project-wide setting enforced. (issue #988)
Added support for disabling all numeric options by setting to false (see #988). Updated tests accordingly.
Merge branch '952' of git://github.com/guyzmo/jshint into guyzmo-952

Conflicts:
	tests/stable/unit/parser.js
Merge branch 'master' into guyzmo-952
Added support for concise methods declaration in objects.

Closes GH-975.
Closes GH-955.
Added support for spread/rest operator

Closes GH-979.
Closes GH-953.
Closes GH-954.
Fix a typo in lexer message.

Closes GH-976.
Closes GH-980.
Add `npm run-script build`
Add test for unignoring warnings
Add support for +W### option in comments to unignore an warning

Allows a warning to be ignored for a number of lines, and then
unignored after. For example:

    var y = Object.create(null);
    // ...

    //jshint -W089
    for (var x in y) {
        // ...
    }
    //jshint +W089

suppresses the warning about not wrapping a "for in" in an if in this
case, but leaves the warning enabled for later occurrences in the
file.
Merge pull request #1003 from Stuk/unignore-warnings

Unignore warnings with +W...
Merge pull request #997 from ljharb/add_npm_build

Add `npm run-script build`
Added SVG interfaces to the browser collection.

This commit adds all of the SVG interfaces documented in the Gecko DOM
reference to the browser globals list.
Added SVGElement to browser options test.

This verifies that SVGElement is defined as a global variable when the
browser option is enabled.
Ignore unrecognized JSLint options

Currently JSHint reports an error when it encounters an option in a
/*jslint */ comment which is not either a jshint option or a renamed
jslint option.  This has the unfortunate side-effect that source files
which specify valid options to JSLint which aren't recognized by JSHint
produce errors in JSHint (e.g. the "continue" option or the new
"closure" option).

We could fix this by whitelisting all valid JSLint options, but this
would require updates to JSHint every time JSLint added an option and I
doubt JSHint really wants to waste resources validating options to
JSLint (since, presumably, people using the /*jslint */ syntax would run
JSLint, which would warn them anyway).

Instead, ignore unrecognized options in /*jslint */ option comments.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
Removed W029 (related to label identifiers that look like JavaScript URLs). See #1013.