Home > @microsoft/rush-lib > RushConfiguration > projectFolderMinDepth

RushConfiguration.projectFolderMinDepth property

The minimum allowable folder depth for the projectFolder field in the rush.json file. This setting provides a way for repository maintainers to discourage nesting of project folders that makes the directory tree more difficult to navigate. The default value is 2, which implements a standard 2-level hierarchy of //package.json.

Signature:

readonly projectFolderMinDepth: number;