summaryrefslogtreecommitdiff
path: root/extensions/WikiEditor/.jshintrc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/WikiEditor/.jshintrc')
-rw-r--r--extensions/WikiEditor/.jshintrc32
1 files changed, 28 insertions, 4 deletions
diff --git a/extensions/WikiEditor/.jshintrc b/extensions/WikiEditor/.jshintrc
index 64cd5087..5d335e32 100644
--- a/extensions/WikiEditor/.jshintrc
+++ b/extensions/WikiEditor/.jshintrc
@@ -1,9 +1,33 @@
{
+ /* 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 */
+
+ // Relaxing
+ "loopfunc": true,
+ "multistr": true,
+ // Environment
+ "browser": true,
+
"predef": [
"mediaWiki",
"jQuery"
- ],
- "browser": true,
- "smarttabs": true,
- "multistr": true
+ ]
}