Skip to content

Guidance on pre-commit + monorepos #466

@snakescott

Description

@snakescott

Any thoughts on using pre-commit in a monorepo (http://danluu.com/monorepo/) setting, with each project having its own .pre-commit-config.yaml file? For example, will pre-commit be happy/sad with

  • project root not being repo root
  • multiple invocations of pre-commit install
  • etc

I expect to play around and experiment but any early guidance (e.g., "I have seen people try and fail at this, beware" or "Yelp actually does exactly this with steps X, Y, Z") is welcome!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions