Better support for Monorepo #1123
DavidSongzw
started this conversation in
Ideas
Replies: 0 comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Background
My project is a monorepo project.Our sub-projects need to be configured separately with their own hooks. Does husky have a sub-project configuration that supports monorepo projects?
Architecture
Our design is as follows.
config.yaml
andparse_yaml.sh
will be generated automatically whenhusky add
is used.Addhusky addSub
method for configuring sub-projects.Also the configuration will be written toconfig.yaml
.When executingpre-commit
it will execute thepre-commit
in the corresponding sub-projects according toconfig.yaml
.Question
Beta Was this translation helpful? Give feedback.
All reactions