index
No repositories found
_actions/github-actions-6951dec90a jQuery JavaScript Library: https://github.com/jquery/jquerywww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/test/.eslintrc.json
blob: 8cc2adc9606becfb6769aa8154bde9f4e9003766 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
	"root": true,

	"extends": "../.eslintrc-browser.json",

	"env": {

		// In source the browser env is not enabled but unit tests rely on them
		// too much and we don't run them in non-browser environments anyway.
		"browser": true
	},

	"globals": {
		"require": false,
		"define": false,
		"DOMParser": false,
		"JSON": false,
		"Promise": false,
		"Symbol": false,
		"QUnit": false,
		"ajaxTest": false,
		"testIframe": false,
		"testIframeWithCallback": false,
		"iframeCallback": true,
		"createDashboardXML": false,
		"createXMLFragment": false,
		"moduleTeardown": false,
		"testFoo": false,
		"url": false,
		"t": false,
		"q": false,
		"jQuery": true,
		"sinon": true,
		"amdDefined": true,
		"fireNative": true,
		"Globals": true,
		"hasPHP": true,
		"isLocal": true,
		"supportjQuery": true,
		"originaljQuery": true,
		"$": true,
		"original$": true,
		"baseURL": true,
		"externalHost": true
	},

	"rules": {
		// See https://github.com/eslint/eslint/issues/2342
		"no-unused-vars": "off",

		// Too many errors
		"max-len": "off",
		"brace-style": "off",
		"key-spacing": "off",
		"camelcase": "off",
		"strict": "off",

		// Not really too many - waiting for autofix features for these rules
		"lines-around-comment": "off",
		"dot-notation": "off"
	}
}