jshint/jshint — pull request #1260 by danielmiladinov (2013-09-08 14:36:02+00:00)
Title: Fixed #826, Fixed #870 - Add Directive `jshint ignore`.

This adds the ability to cause jshint to ignore either a block of lines
or just a single line.

You can can denote the start of an ignored block like this:
```javascript
/*jshint ignore:start */
```
Lines inside an ignored block will be effectively invisible to the
linter. They aren't even presented to the lexer for tokenization.
This is ideal for blocking out sections of code that don't even remotely
resemble javascript, such as inline JSX

(http://facebook.github.io/react/docs/jsx-in-depth.html).

Similarly, you denote the end of an ignored block like this:
```javascript
/*jshint ignore:end */
```
You can also ignore a single line with a trailing comment:
```javascript
// jshint ignore:line
```
However, the use case presented for ignoring a single line seemed to be
more for silencing one or more warnings / errors in what was otherwise
valid javascript code (contrasted with JSX, which will never execute as
javascript without a transformation step to javascript). The linter will
still complain of errors if the lexer can't parse out the comment token.