UNPKG

secretlint

Version:
20 lines 756 B
export type SearchFilesOptions = { cwd: string; ignoreFilePath?: string; noGlob?: boolean; respectGitignore?: boolean; }; /** * Search files matching the given patterns under `options.cwd`. * Always honours DEFAULT_IGNORE_PATTERNS. When `respectGitignore` is true * (default), nested `.gitignore` files are respected with Git semantics. * * Patterns are interpreted as globs by default. To pass a literal path — * for example a file whose name contains glob special characters such as * `[`, `(`, `{`, or `?` — set `noGlob: true` (CLI: `--no-glob`). */ export declare const searchFiles: (patterns: string[], options: SearchFilesOptions) => Promise<{ ok: boolean; items: string[]; }>; //# sourceMappingURL=search.d.ts.map