mw.hook: Use hasOwnProperty
[lhc/web/wiklou.git] / .jshintrc
1 {
2 /* Common */
3
4 // Enforcing
5 "eqeqeq": true,
6 "latedef": true,
7 "noarg": true,
8 "nonew": true,
9 "undef": true,
10 "unused": true,
11
12 /* Local */
13
14 // FIXME: Deprecated, handle these with node-jscs instead.
15 // Handled here because we still have inline overrides in some places.
16 "camelcase": true,
17 "nomen": true,
18
19 // Enforcing
20 "bitwise": true,
21 "forin": false,
22 "regexp": false,
23 "strict": false,
24 // Relaxing
25 "laxbreak": true,
26 "smarttabs": true,
27 "multistr": true,
28 // Environment
29 "browser": true,
30
31 "predef": [
32 "mediaWiki",
33 "jQuery",
34 "QUnit"
35 ]
36 }