From cc44db625bc091a6c0b72fc834eebcb5d45cb808 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Fri, 10 Jan 2014 23:26:55 +0100 Subject: [PATCH] Add .jshintrc Change-Id: Ia0df2fa9b2708a7b671052225e8a41094ae19522 --- .jshintrc | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .jshintrc diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 00000000..13f645b3 --- /dev/null +++ b/.jshintrc @@ -0,0 +1,32 @@ +{ + /* Common */ + + // Enforcing + "camelcase": true, + "curly": true, + "eqeqeq": true, + "immed": true, + "latedef": true, + "newcap": true, + "noarg": true, + "noempty": true, + "nonew": true, + "quotmark": "single", + "trailing": true, + "undef": true, + "unused": true, + // Legacy + "onevar": true, + + /* Local */ + + // Environment + "browser": true, + // Legacy + "nomen": true, + + "predef": [ + "mediaWiki", + "jQuery" + ] +}