Permalink
Browse files

option.confusion

  • Loading branch information...
1 parent c04235a commit cad15c8b91ca0046c89e12f942bfe3b7e197668e @douglascrockford committed Jan 27, 2012
Showing with 212 additions and 756 deletions.
  1. +26 −26 jslint.html
  2. +185 −702 jslint.js
  3. +1 −28 lint.html
View
@@ -170,86 +170,86 @@
<td title="devel">Assume&nbsp;<code>console</code>,&nbsp;<code>alert</code>,&nbsp;...</td>
<td><span title="bitwise">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="bitwise">Tolerate bitwise operators</td>
- <td><span title="regexp">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
- <td title="regexp">Tolerate&nbsp;<tt>.</tt>&nbsp;and&nbsp;<tt>[^</tt>...<tt>]</tt>&nbsp;in&nbsp;/RegExp/</td>
- </tr>
- <tr>
- <td><span title="browser">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
- <td title="browser">Assume a browser</td>
- <td><span title="confusion">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
- <td title="confusion">Tolerate&nbsp;type&nbsp;confusion</td>
<td><span title="undef">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="undef">Tolerate&nbsp;misordered&nbsp;definitions</td>
</tr>
<tr>
- <td><span title="node">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
- <td title="node">Assume&nbsp;<a href="http://nodejs.org/">Node.js</a></td>
+ <td><span title="browser">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
+ <td title="browser">Assume a browser</td>
<td><span title="continue">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="continue">Tolerate&nbsp;<tt>continue</tt></td>
<td><span title="unparam">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="unparam">Tolerate&nbsp;unused&nbsp;parameters</td>
</tr>
<tr>
- <td><span title="rhino">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
- <td title="rhino">Assume&nbsp;<a href="http://www.mozilla.org/rhino/">Rhino</a></td>
+ <td><span title="node">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
+ <td title="node">Assume&nbsp;<a href="http://nodejs.org/">Node.js</a></td>
<td><span title="debug">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="debug">Tolerate&nbsp;<tt>debugger</tt>&nbsp;statements</td>
<td><span title="sloppy">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="sloppy">Tolerate&nbsp;missing&nbsp;<code>'use&nbsp;strict'</code>&nbsp;pragma</td>
</tr>
<tr>
- <td><span title="widget">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
- <td title="widget">Assume a&nbsp;<a href="http://widgets.yahoo.com/tools/">Yahoo Widget</a></td>
+ <td><span title="rhino">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
+ <td title="rhino">Assume&nbsp;<a href="http://www.mozilla.org/rhino/">Rhino</a></td>
<td><span title="eqeq">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="eqeq">Tolerate&nbsp;<code>==</code>&nbsp;and&nbsp;<code>!=</code></td>
<td><span title="sub">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="sub">Tolerate&nbsp;inefficient&nbsp;subscripting</td>
</tr>
<tr>
- <td><span title="windows">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
- <td title="windows">Assume&nbsp;Windows</td>
+ <td><span title="widget">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
+ <td title="widget">Assume a&nbsp;<a href="http://widgets.yahoo.com/tools/">Yahoo Widget</a></td>
<td><span title="es5">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="es5">Tolerate&nbsp;ES5&nbsp;syntax</td>
<td><span title="vars">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="vars">Tolerate many&nbsp;<tt>var</tt>&nbsp;statements per function</td>
</tr>
<tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
+ <td><span title="windows">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
+ <td title="windows">Assume&nbsp;Windows</td>
<td><span title="evil">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="evil">Tolerate&nbsp;<tt>eval</tt></td>
<td><span title="white">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="white">Tolerate&nbsp;messy&nbsp;white space</td>
</tr>
<tr>
- <td><span title="passfail">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
- <td title="passfail">Stop&nbsp;on&nbsp;first&nbsp;error</td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
<td><span title="forin">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="forin">Tolerate&nbsp;<a href="http://yuiblog.com/blog/2006/09/26/for-in-intrigue/">unfiltered</a>&nbsp;<tt>for</tt>&nbsp;<tt>in</tt></td>
+ <td>&nbsp;</td>
+ <td>&nbsp;</td>
+ </tr>
+ <tr>
+ <td><span title="passfail">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
+ <td title="passfail">Stop&nbsp;on&nbsp;first&nbsp;error</td>
+ <td><span title="newcap">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
+ <td title="newcap">Tolerate uncapitalized constructors</td>
<td><span title="css">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="css">Tolerate&nbsp;CSS&nbsp;workarounds</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
- <td><span title="newcap">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
- <td title="newcap">Tolerate uncapitalized constructors</td>
+ <td><span title="nomen">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
+ <td title="nomen">Tolerate dangling&nbsp;<tt>_</tt>&nbsp;in identifiers</td>
<td><span title="cap">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="cap">Tolerate&nbsp;<tt>HTML</tt>&nbsp;case</td>
</tr>
<tr>
<td><span title="safe">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="safe">Safe&nbsp;Subset</td>
- <td><span title="nomen">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
- <td title="nomen">Tolerate dangling&nbsp;<tt>_</tt>&nbsp;in identifiers</td>
+ <td><span title="plusplus">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
+ <td title="plusplus">Tolerate&nbsp;<tt>++</tt>&nbsp;and&nbsp;<tt>--</tt></td>
<td><span title="on">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="on">Tolerate&nbsp;<tt>HTML</tt>&nbsp;event handlers</td>
</tr>
<tr>
<td><span title="adsafe">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="adsafe">Verify&nbsp;<a href="http://www.ADsafe.org">ADsafe</a></td>
- <td><span title="plusplus">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
- <td title="plusplus">Tolerate&nbsp;<tt>++</tt>&nbsp;and&nbsp;<tt>--</tt></td>
+ <td><span title="regexp">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
+ <td title="regexp">Tolerate&nbsp;<tt>.</tt>&nbsp;and&nbsp;<tt>[^</tt>...<tt>]</tt>&nbsp;in&nbsp;/RegExp/</td>
<td><span title="fragment">&nbsp;&nbsp;&nbsp;&nbsp;</span></td>
<td title="fragment">Tolerate&nbsp;<tt>HTML</tt>&nbsp;fragments</td>
</tr>
Oops, something went wrong.

0 comments on commit cad15c8

Please sign in to comment.