summaryrefslogtreecommitdiff
path: root/.jshintrc
blob: c4e265a4de6d9b514a34b31e1713c25621dc84cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
	/* 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 */

	// Enforcing
	"bitwise": true,
	"forin": false,
	"regexp": false,
	"strict": false,
	// Relaxing
	"laxbreak": true,
	"smarttabs": true,
	"multistr": true,
	// Environment
	"browser": true,
	// Legacy
	"nomen": true,

	"predef": [
		"mediaWiki",
		"jQuery",
		"QUnit"
	]
}