diff options
Diffstat (limited to '.jshintrc')
-rw-r--r-- | .jshintrc | 39 |
1 files changed, 28 insertions, 11 deletions
@@ -1,25 +1,42 @@ { - "predef": [ - "mediaWiki", - "jQuery", - "QUnit", - "mw", - "$" - ], + /* Common */ - "bitwise": true, + // 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 */ + // Enforcing + "bitwise": true, + "forin": false, + "regexp": false, + "strict": false, + // Relaxing "laxbreak": true, - "loopfunc": true, "smarttabs": true, "multistr": true, - "onecase": true, + // Environment + "browser": true, + // Legacy + "nomen": true, - "browser": true + "predef": [ + "mediaWiki", + "jQuery", + "QUnit" + ] } |