{
	"plugins": ["requirejs", "es5", "unicorn", "promise", "xss"],

	"extends": [
		"./base.json",
		"eslint:recommended",
		"plugin:requirejs/recommended",
		"plugin:es5/no-es2015",
		"plugin:unicorn/recommended",
		"plugin:promise/recommended"
	],

	"env": {},

	"globals": {},

	"rules": {
		"indent": "off",
		"quotes": ["warn", "double"],
		"semi": ["off", "always"],
		"curly": "off",
		"no-with": "error",
		"new-parens": "warn",
		"comma-dangle": "warn",
		"no-new-object": "warn",
		"no-caller": "off",
		"no-extra-boolean-cast": "warn",
		"no-new-func": "off",
		"no-mixed-spaces-and-tabs": "off",
		"quote-props": ["off", "as-needed", { "keywords": true, "unnecessary": false }],
		"no-eval": "warn",
		"no-alert": "error",
		"no-console": "off",
		"block-scoped-var": "warn",
		"array-callback-return": "warn",
		"no-unused-vars": ["warn", { "args": "none", "vars": "all" }],
		"comma-spacing": ["off", { "before": false, "after": true }],
		"key-spacing": "off",
		"space-infix-ops": "off",
		"no-multi-spaces": "off",
		"eqeqeq": "warn",

		"requirejs/no-js-extension": "warn",

		"promise/no-return-wrap": "warn",

		"xss/no-mixed-html": "warn",
		"xss/no-location-href-assign": "warn",

		"unicorn/catch-error-name": "off",
		"unicorn/filename-case": "off",
		"unicorn/import-index": "warn",
		"unicorn/regex-shorthand": "off"
	}
}
