Imagine a monorepo with top level package.json and subprojects, each with its own package.json
If we setup pre-git in the root folder (same level as git root), and then try to commit from subfolder, it will grab closest package.json and will try to use it.
Imagine a monorepo with top level package.json and subprojects, each with its own package.json
If we setup pre-git in the root folder (same level as git root), and then try to commit from subfolder, it will grab closest package.json and will try to use it.
pre-git should prefer closest package.json file or find package.json with
config
object