Update jshint.
This commit is contained in:
parent
3cc433594e
commit
3a71fcd847
17
jshint.md
17
jshint.md
|
@ -29,14 +29,19 @@ layout: default
|
|||
a.default = function() { ... };
|
||||
array = [ 1, 2, 3, ];
|
||||
|
||||
/* jshint white: true, indent: 4 */
|
||||
// check whitespace and indentation rules
|
||||
|
||||
### Ignore
|
||||
|
||||
/* jshint ignore:start */
|
||||
/* jshint ignore:end */
|
||||
|
||||
### Environments
|
||||
|
||||
browser /* window, document, ... */
|
||||
node /* module, exports, console, process, ... */
|
||||
jquery /* jQuery, $ */
|
||||
|
||||
|
||||
|
||||
/* jshint browser: true */ window, document, ...
|
||||
/* jshint node: true */ module, exports, console, process, ...
|
||||
/* jshint jquery: true */ jQuery, $
|
||||
|
||||
### Also see
|
||||
|
||||
|
|
Loading…
Reference in New Issue