function processCLIEngineLintReport(cliEngine, { results }) {
	const descriptor = {
		configurable: true,
		enumerable: true,
		get() {
			return getOrFindUsedDeprecatedRules(cliEngine, this.filePath);
		},
	};

	for (const result of results) {
		Object.defineProperty(result, "usedDeprecatedRules", descriptor);
	}

	return results;
}
Processes the linting results generated by a CLIEngine linting report to
match the ESLint class's API.
@param {CLIEngine} cliEngine The CLIEngine instance.
@param {CLIEngineLintReport} report The CLIEngine linting report to process.
@returns {LintResult[]} The processed linting results.