Tooling should be able to assume $PRJ_ROOT if it is not set #6
gytis-ivaskevicius
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The spec does not define how $PRJ_ROOT should be assumed if it is not set.
Recommended implementation:
Default based on .editorconfig
If
.editorconfigdoes not exist - default based on git/svnOne may argue that it should also default to build tool configs like package.json/Cargo.toml but I should note that just because such a file exists it does not necessarily mean that it is a project root since it may be a submodule. The same goes for most build tools
Beta Was this translation helpful? Give feedback.
All reactions