Update jshint.
This commit is contained in:
parent
08c0092e7a
commit
320a3177f4
39
jshint.md
39
jshint.md
|
@ -5,9 +5,30 @@ layout: default
|
|||
|
||||
### 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 */
|
||||
production && minify = true;
|
||||
|
||||
/* jshint laxcomma: true */
|
||||
var one = 1
|
||||
, two = 2;
|
||||
|
||||
/* jshint loopfunc: true */
|
||||
for (i=0; i<10; x++) {
|
||||
(function(i) { ... })(i);
|
||||
|
@ -16,24 +37,6 @@ layout: default
|
|||
/* jshint sub: true */
|
||||
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
|
||||
|
||||
/* jshint es3: true */
|
||||
|
|
Loading…
Reference in New Issue