UNPKG

test-forbidden-regex

Version:
7 lines (6 loc) 440 B
import 'colors'; export declare function testForbiddenRegex(regularExpressions: RegExp | RegExp[], folderPath?: string[] | string, errorText?: string, cb?: (errors?: string | string[] | { message: string; }) => void): void; export declare const noImportsInFolder: (folder: string, pattern: RegExp | string | Array<RegExp | string>, noSrc?: boolean) => (done: any) => void; export declare const relativeImportStartedFromTwoDots: RegExp;