Update jshint.

This commit is contained in:
Rico Sta. Cruz 2014-07-14 17:24:47 +08:00
parent 08c0092e7a
commit 320a3177f4
1 changed files with 21 additions and 18 deletions

View File

@ -5,9 +5,30 @@ layout: default
### Relaxing ### Relaxing
/* jshint asi: true */
allow()
missing_semicolons()
/* jshint boss: true */
if (m = str.match(/.../))
/* jshint debug: true */
debugger;
/* jshint eqnull: true */
if (x == null)
/* jshint evil: true */
eval('...')
/* jshint expr: true */ /* jshint expr: true */
production && minify = true; production && minify = true;
/* jshint laxcomma: true */
var one = 1
, two = 2;
/* jshint loopfunc: true */ /* jshint loopfunc: true */
for (i=0; i<10; x++) { for (i=0; i<10; x++) {
(function(i) { ... })(i); (function(i) { ... })(i);
@ -16,24 +37,6 @@ layout: default
/* jshint sub: true */ /* jshint sub: true */
process.env['name_here']; process.env['name_here'];
/* jshint boss: true */
if (m = str.match(/.../))
/* jshint asi: true */
allow()
missing_semicolons()
/* jshint evil: true */
eval('...')
/* jshint laxcomma: true */
var one = 1
, two = 2;
/* jshint sub: true */
person['name']
### Enforcement ### Enforcement
/* jshint es3: true */ /* jshint es3: true */