module.exports = {
	env: {
		commonjs: true,
		es6: true,
		node: true,
	},
	extends: ["eslint:recommended", "plugin:unicorn/recommended"],
	rules: {
		"unicorn/no-reduce": 0,
		"unicorn/no-useless-undefined": 0,
	},
	globals: {
		Atomics: "readonly",
		SharedArrayBuffer: "readonly",
	},
	parserOptions: {
		ecmaVersion: 2018,
	},
};

module.exports = {
	env: {
		commonjs: true,
		es6: true,
		node: true,
	},
	extends: ["eslint:recommended", "plugin:unicorn/recommended"],
	rules: {
		"unicorn/no-useless-undefined": 0,
	},
	globals: {
		Atomics: "readonly",
		SharedArrayBuffer: "readonly",
	},
	parserOptions: {
		ecmaVersion: 2018,
	},
};

enable no-reduce