summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'AbuseFilter/.jshintrc')
-rw-r--r--AbuseFilter/.jshintrc31
1 files changed, 31 insertions, 0 deletions
diff --git a/AbuseFilter/.jshintrc b/AbuseFilter/.jshintrc
new file mode 100644
index 00000000..63b4f381
--- /dev/null
+++ b/AbuseFilter/.jshintrc
@@ -0,0 +1,31 @@
+{
+ /* Common */
+
+ // Enforcing
+ "camelcase": true,
+ "curly": true,
+ "eqeqeq": true,
+ "immed": true,
+ "latedef": "nofunc",
+ "newcap": true,
+ "noarg": true,
+ "noempty": true,
+ "nonew": true,
+ "quotmark": "single",
+ "trailing": true,
+ "undef": true,
+ "unused": true,
+ // Legacy
+ "onevar": true,
+
+ /* Local */
+
+ // Enforcing
+ // Environment
+ "browser": true,
+ "jquery": true,
+
+ "globals": {
+ "mediaWiki": false
+ }
+}