UNPKG

tslint-ban-snippets

Version:

A custom tslint rule to ban configurable lists of code snippets.

10 lines (9 loc) 232 B
export declare type BanSnippetsRuleConfig = { banned: BannedSnippet[]; }; export declare type BannedSnippet = { snippets: string[]; message?: string; includePaths?: string[]; excludePaths?: string[]; };