.eslintrc 425 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
{
	"root": true,

	"extends": "@ljharb",

	"rules": {
		"complexity": 0,
		"id-length": [2, { "min": 1, "max": 26 }],
		"max-statements": [2, 14],
		"new-cap": [2, { capIsNewExceptions: ["GetIntrinsic", "ToObject", "ToInteger", "ToLength", "SameValueZero", "RequireObjectCoercible"] }],
	},

	"overrides": [
		{
			"files": "test/**",
			"rules": {
				"max-lines-per-function": 0,
				"no-invalid-this": 1,
			},
		},
	],
}