markuplint
Version:
An HTML linter for all markup developers
12 lines (11 loc) • 585 B
TypeScript
import type { APIOptions } from './types.js';
import type { MLResultInfo } from '../types.js';
import type { Target } from '@markuplint/file-resolver';
/**
* Lints multiple targets (files or inline sources) and returns results for each.
*
* @param targetList - An array of file paths/globs or inline source code targets
* @param options - API options for configuration, locale, rules, and behavior
* @returns An array of lint results, one per processed file
*/
export declare function lint(targetList: readonly Readonly<Target>[], options?: APIOptions): Promise<MLResultInfo[]>;