summaryrefslogtreecommitdiff
path: root/extensions/WikiEditor/.jshintrc
blob: 5d335e32792c62fc7a85edd6b3b63e2841643683 (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
{
	/* 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 */

	// Relaxing
	"loopfunc": true,
	"multistr": true,
	// Environment
	"browser": true,

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