UNPKG

@storm-software/eslint

Version:

A package containing the base ESLint configuration used by Storm Software across many projects.

17 lines (15 loc) 622 B
/** * Find the monorepo root directory, searching upwards from `path`. * * @param pathInsideMonorepo - The path inside the monorepo to start searching from * @returns The monorepo root directory */ declare function findWorkspaceRootSafe(pathInsideMonorepo?: string): string | undefined; /** * Find the monorepo root directory, searching upwards from `path`. * * @param pathInsideMonorepo - The path inside the monorepo to start searching from * @returns The monorepo root directory */ declare function findWorkspaceRoot(pathInsideMonorepo?: string): string; export { findWorkspaceRoot, findWorkspaceRootSafe };