UNPKG

debt-collector

Version:

a nodejs tool to identify, track and mesure technical debt

10 lines (9 loc) 394 B
import type { SanitizedFileRule, Config } from '../types.js'; type RulesForFile = { fileRules?: SanitizedFileRule[]; }; export declare const getRulesForFile: (options: Config, filePath: string) => RulesForFile; export declare const filtersRulesFromOptions: (options: Config, ruleId?: string | null, tags?: string[] | null) => { fileRules: SanitizedFileRule[] | undefined; }; export {};