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