aboutsummaryrefslogtreecommitdiffstats
path: root/dist-module/.eslintrc.json
blob: 33335abd8e82637b424ed67dd49219cfe7413fe7 (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
{
	"root": true,

	"parserOptions": {
		"ecmaVersion": 2015,
		"sourceType": "module"
	},

	"globals": {
		"define": false,
		"Symbol": false
	},

	"overrides": [
		{
			"files": "jquery{,.slim}.module.min.js",

			"parserOptions": {
				"ecmaVersion": 2015,
				"sourceType": "module"
			}
		},

		{
			"files": "jquery{,.slim}.module.js",
			"extends": "../.eslintrc-browser.json",

			"parserOptions": {
				"ecmaVersion": 2015,
				"sourceType": "module"
			},

			"rules": {

				// That is okay for the built version
				"no-multiple-empty-lines": "off",

				// When custom compilation is used, the version string
				// can get large. Accept that in the built version.
				"max-len": "off",
				"one-var": "off"
			}
		}
	]
}