support a --file-name flag (undocumented)
add filename option
fix jshint styling
Updated to use path.resolve
Don't throw an error when yield statement used within a catch block inside a generator function.

See jshint/jshint#1505
Switch statement within loop doesn't recognize 'continue' if case is wrapped in { }
Fix too long comment

by removing a non-essential example
Glob documentation for example .jshintignore

I had some difficulty figuring out the glob syntax for JSHint, since the original documentation referenced in https://groups.google.com/forum/#!topic/jshint/62N12QUhBCs no longer exists on the current JSHint. Adding it to this example in the hopes that it will be helpful.
added unit test to detect wrong column reported for JS linted inside HTML file
adding function to extract offsets for JavaScript in HTML if there are any errors
tested fragment offset computation on two fragments
Strip comments in JSON by parsing instead of regex

Using regex for this is just too fragile.

I've changed it out to use the strip-json-comments module instead: https://github.com/sindresorhus/strip-json-comments

Example of where the existing one will fail:

    console.log(removeComments('{"a":"b//c"}'));
    //=> {"a":"b
Add basic support for ES6 TemplateLiterals

These changes are intended to prevent jshint from choking on template literals when
esnext mode is enabled. It has been written to support a sub-lexing process to allow
for further linting in the future. At this time it does not support escaped string
characters with backslashes, due to my limited knowledge of the template literal
syntax.

I am hopeful that this will pave the way for doing more useful linting with this
construct, and to allow jshint to be used in applications which make use of this
language feature.

Closes #1563
Closes #1219
Merge pull request #1571 from caitp/issue-1219-2.x

Add basic support for ES6 TemplateLiterals
Merge pull request #1567 from sindresorhus/strip-json-comments

Strip comments in JSON by parsing instead of regex
Merge pull request #1557 from bahmutov/2.x

Reporting correct column for JavaScript extracted from HTML files
Merge pull request #1543 from hiddentao/yield_catch

Don't throw an error when yield statement used within a catch block inside a generator function
Merge pull request #1553 from christopherliu/patch-1

Glob documentation for example .jshintignore
Merge pull request #1548 from Famlam/issue1318

Switch statement within loop doesn't recognize 'continue' if case is wrapped in {}
Merge pull request #1503 from Raynos/file-name

support a --filename flag