You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2012/06/28 14:48:55 UTC
[2/4] git commit: Add some JSHint options
Add some JSHint options
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/c00354ad
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/c00354ad
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/c00354ad
Branch: refs/heads/master
Commit: c00354ad18f16a325ec2eaf1bc2b8e44384d8f9d
Parents: daef3cd
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Thu Jun 28 15:47:27 2012 +0300
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Thu Jun 28 15:47:27 2012 +0300
----------------------------------------------------------------------
grunt.js | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/c00354ad/grunt.js
----------------------------------------------------------------------
diff --git a/grunt.js b/grunt.js
index 8d508c2..d65c62b 100644
--- a/grunt.js
+++ b/grunt.js
@@ -23,7 +23,22 @@ module.exports = function(grunt) {
jshint: {
options: {
- smarttabs: true,
+ "boss": true,
+ "browser": true,
+ "curly": true,
+ "eqnull": true,
+ "eqeqeq": true,
+ "expr": true,
+ "jquery": true,
+ "latedef": true,
+ "noarg": true,
+ "onevar": true,
+ "smarttabs": true,
+ "trailing": true,
+ "undef": true,
+ "predef": [
+ "ActiveXObject"
+ ]
}
},