UNPKG

412 BTypeScriptView Raw
1import { ConfigSet, MLFile } from '@markuplint/file-resolver';
2import { MLRule } from '@markuplint/ml-core';
3import { RuleConfigValue } from '@markuplint/ml-config';
4import { MLResultInfo } from './types';
5export declare function lintFile(file: MLFile, configs: Map<MLFile, ConfigSet>, rulesAutoResolve: boolean, rules: MLRule<RuleConfigValue, unknown>[], locale?: string, fix?: boolean): Promise<MLResultInfo>;