aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc-browser.json
blob: 127fc6ce88480555c48dda851f81525dc455396e (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
{
	"root": true,

	"extends": "jquery",

	"parserOptions": {
		"ecmaVersion": 5
	},

	// The browser env is not enabled on purpose so that code takes
	// all browser-only globals from window instead of assuming
	// they're available as globals. This makes it possible to use
	// jQuery with tools like jsdom which provide a custom window
	// implementation.
	"env": {},

	"globals": {
		"window": true
	},

	"rules": {
		"strict": ["error", "function"]
	}
}