function listFiles(patterns, options) {
				return Array.from(
					new FileEnumerator({
						...options,
						configArrayFactory: new CascadingConfigArrayFactory({
							...options,

							// Disable "No Configuration Found" error.
							useEslintrc: false,
						}),
					}).iterateFiles(patterns),
					({ filePath, ignored }) => ({
						filename: filePath,
						ignored,
					}),
				);
			}
List files as a compatible shape with glob-utils.
@param {string|string[]} patterns The patterns to list files.
@param {Object} options The option for FileEnumerator.
@returns {{filename:string,ignored:boolean}[]} The listed files.