{
	"plugins": [ "es-x" ],
	"extends": [
		"plugin:es-x/restrict-to-es5",
		"plugin:es-x/no-new-in-esnext",
		"./rules-es5"
	],
	"parserOptions": {
		"ecmaVersion": 5
	},
	"rules": {
		"es-x/no-array-prototype-find": "off",
		"es-x/no-array-prototype-keys": "off",
		"es-x/no-array-prototype-values": "off",
		"no-restricted-syntax": [
			"error",
			{
				"selector": "CallExpression[callee.type='MemberExpression'][callee.property.type='Identifier'][callee.property.name='keys'][callee.object.name!='Object']",
				"message": "Unsupported method Array.prototype.keys requires ES6."
			},
			{
				"selector": "CallExpression[callee.type='MemberExpression'][callee.property.type='Identifier'][callee.property.name='values'][callee.object.name!='Object']",
				"message": "Unsupported method Array.prototype.values requires ES6."
			}
		]
	}
}
