summaryrefslogtreecommitdiff
path: root/.jshintrc
diff options
context:
space:
mode:
Diffstat (limited to '.jshintrc')
-rw-r--r--.jshintrc25
1 files changed, 25 insertions, 0 deletions
diff --git a/.jshintrc b/.jshintrc
new file mode 100644
index 00000000..31dc9a0c
--- /dev/null
+++ b/.jshintrc
@@ -0,0 +1,25 @@
+{
+ "predef": [
+ "mediaWiki",
+ "jQuery",
+ "QUnit",
+ "mw",
+ "$"
+ ],
+
+ "bitwise": true,
+ "immed": true,
+ "latedef": true,
+ "newcap": true,
+ "noarg": true,
+ "nonew": true,
+ "undef": true,
+
+ "laxbreak": true,
+ "loopfunc": true,
+ "smarttabs": true,
+ "multistr": true,
+ "onecase": true,
+
+ "browser": true
+}