redact exception traces and abstract getTrace
[lhc/web/wiklou.git] / .jshintrc
index 4cf86b8..c4e265a 100644 (file)
--- a/.jshintrc
+++ b/.jshintrc
@@ -1,10 +1,8 @@
 {
-       "predef": [
-               "mediaWiki",
-               "QUnit"
-       ],
+       /* Common */
 
-       "bitwise": true,
+       // Enforcing
+       "camelcase": true,
        "curly": true,
        "eqeqeq": true,
        "immed": true,
        "noarg": true,
        "noempty": true,
        "nonew": true,
-       "regexp": false,
-       "undef": true,
-       "strict": false,
+       "quotmark": "single",
        "trailing": true,
+       "undef": true,
+       "unused": true,
+       // Legacy
+       "onevar": true,
+
+       /* Local */
 
+       // Enforcing
+       "bitwise": true,
+       "forin": false,
+       "regexp": false,
+       "strict": false,
+       // Relaxing
        "laxbreak": true,
        "smarttabs": true,
        "multistr": true,
-
+       // Environment
        "browser": true,
-       "jquery": true,
-
+       // Legacy
        "nomen": true,
-       "onevar": false
+
+       "predef": [
+               "mediaWiki",
+               "jQuery",
+               "QUnit"
+       ]
 }