UNPKG

tslint-ban-snippets

Version:

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

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