From 335434f8647077124e424880daf8f636e8cdc7b5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Mon, 7 Oct 2013 10:43:27 +0200 Subject: [PATCH] Fixing jshint configuration --- .jshintrc | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 72 insertions(+), 2 deletions(-) diff --git a/.jshintrc b/.jshintrc index 834b211..7dcb2d6 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,3 +1,73 @@ { - "multistr": true -} \ No newline at end of file + // See http://www.jshint.com/docs/options/ + + // Enforcing + "bitwise" : true, + "camelcase" : false, + "curly" : true, + "eqeqeq" : true, + "es3" : false, + "forin" : true, + "immed" : true, + "indent" : false, + "latedef" : true, + "newcap" : true, + "noarg" : true, + "noempty" : true, + "nonew" : true, + "plusplus" : false, + "quotmark" : true, + "undef" : true, + "unused" : true, + "strict" : true, + "trailing" : true, + "maxparams" : false, + "maxdepth" : false, + "maxstatements" : false, + "maxcomplexity" : false, + "maxlen" : false, + + // Relaxing + "asi" : false, + "boss" : false, + "debug" : false, + "eqnull" : false, + "esnext" : false, + "evil" : false, + "expr" : false, + "funcscope" : false, + "globalstrict" : false, + "iterator" : false, + "lastsemic" : false, + "laxbreak" : false, + "laxcomma" : false, + "loopfunc" : false, + "moz" : false, + "multistr" : false, + "proto" : false, + "scripturl" : false, + "smarttabs" : false, + "shadow" : false, + "sub" : false, + "supernew" : false, + "validthis" : false, + + // Environments + "browser" : true, + "couch" : false, + "devel" : false, + "dojo" : false, + "jquery" : true, + "mootools" : false, + "node" : false, + "nonstandard" : false, + "phantom" : false, + "prototypejs" : false, + "rhino" : false, + "worker" : false, + "wsh" : false, + "yui" : false, + + // Custom Globals + "globals" : {"define": false } +} -- 2.20.1