debt-collector
Version:
a nodejs tool to identify, track and mesure technical debt
9 lines (8 loc) • 358 B
TypeScript
import type { MatchRuleUtils } from '../types.js';
/**
* Builds a `MatchRuleUtils` object for a single file.
* All utilities share the same pre-parsed DOM tags and content,
* so this should be called once per file and passed to all rule
* checking functions.
*/
export declare const createMatchRuleUtils: (file: string, data: string) => MatchRuleUtils;