summaryrefslogtreecommitdiffstats
path: root/web-tools/web/_static/jquery/.eslintrc.json
blob: a86695799937dfdc6a9b76b70dc177bc186b38a5 (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
{
	"root": true,

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

	"overrides": [
		{
			"files": "jquery.js",
			"extends": "../.eslintrc-browser.json",

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

				// Sizzle is not compatible with jQuery code style
				"no-nested-ternary": "off",
				"no-unused-expressions": "off",
				"no-unused-vars": "off",
				"lines-around-comment": "off",
				"space-in-parens": "off",
				"camelcase": "off",
				"computed-property-spacing": "off",
				"max-len": "off",
				"dot-notation": "off",
				"semi-spacing": "off",
				"brace-style": "off"
			}
		}
	]
}