From 3a71fcd8470c92bd9dc2a86ecc9844805a2f8878 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Sat, 21 Jun 2014 21:31:47 +0800 Subject: [PATCH] Update jshint. --- jshint.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/jshint.md b/jshint.md index 792ee525b..40eaf03b4 100644 --- a/jshint.md +++ b/jshint.md @@ -29,15 +29,20 @@ 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 * http://www.jshint.com/docs/options/