From: Moritz Bunkus Date: Mon, 4 Apr 2016 15:09:33 +0000 (+0200) Subject: jshint-Konfigurationsdatei hinzugefügt X-Git-Tag: release-3.4.1~256 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=74c1fd6289af7852d29b96eefc080c88d0db4ce1;p=kivitendo-erp.git jshint-Konfigurationsdatei hinzugefügt Diverse Stile, die bei kivitendo verwendet werden, benötigen manuelle Einstellungen. --- diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 000000000..bff88db9f --- /dev/null +++ b/.jshintrc @@ -0,0 +1,12 @@ +{ + "laxcomma" : true, // tolerate "," at the beginning of lines + "laxbreak" : true, // tolerate "+" at the beginning of lines + "jquery": true, // assume jquery is loaded + "asi" : true, // tolerate satements without ";" yet + "eqeqeq" : false, // don't require === for comparisons yet + // "strict" : true + + "globals" : { + "predef": [ "kivi" ] + } +}