From: Aleksander Ɓukasz Date: Mon, 7 Oct 2013 08:43:27 +0000 (+0200) Subject: Fixing jshint configuration X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/335434f8647077124e424880daf8f636e8cdc7b5 Fixing jshint configuration --- 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 } +}