mw.hook: Use hasOwnProperty
[lhc/web/wiklou.git] / .jshintrc
index b86ceb5..9d6c4d2 100644 (file)
--- a/.jshintrc
+++ b/.jshintrc
@@ -1,30 +1,36 @@
 {
-       "predef": [
-               "mediaWiki",
-               "QUnit"
-       ],
+       /* Common */
 
-       "bitwise": true,
-       "curly": true,
+       // Enforcing
        "eqeqeq": true,
-       "immed": true,
        "latedef": true,
-       "newcap": true,
        "noarg": true,
-       "noempty": true,
        "nonew": true,
-       "regexp": false,
        "undef": true,
-       "strict": false,
-       "trailing": true,
+       "unused": true,
+
+       /* Local */
+
+       // FIXME: Deprecated, handle these with node-jscs instead.
+       // Handled here because we still have inline overrides in some places.
+       "camelcase": true,
+       "nomen": true,
 
+       // Enforcing
+       "bitwise": true,
+       "forin": false,
+       "regexp": false,
+       "strict": false,
+       // Relaxing
        "laxbreak": true,
        "smarttabs": true,
        "multistr": true,
-
+       // Environment
        "browser": true,
-       "jquery": true,
 
-       "nomen": true,
-       "onevar": true
+       "predef": [
+               "mediaWiki",
+               "jQuery",
+               "QUnit"
+       ]
 }