function initLegacyESLint(fixtureConfigName, options = {}) {
	return new LegacyESLint({
		cwd: path.resolve(__dirname, "./fixtures/"),
		ignore: false,
		useEslintrc: false,
		overrideConfigFile: path.resolve(
			__dirname,
			"./fixtures/",
			fixtureConfigName,
		),
		plugins: { markdown: plugin },
		...options,
	});
}
Helper function which creates ESLint instance with enabled/disabled autofix feature.
@param {string} fixtureConfigName ESLint JSON config fixture filename.
@param {Object} [options={}] Whether to enable autofix feature.
@returns {LegacyESLint} ESLint instance to execute in tests.