-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
devopsAll things devops (Nix, language servers, editors, code quality etc)All things devops (Nix, language servers, editors, code quality etc)
Milestone
Description
By default, rustfmt looks for a Cargo.toml file in the root directory to determines which files should be formatted. However, as we're using a monorepo structure there's no such file, so the pre-commit-hook fails. We must find a way to tell rustfmt where the package roots are.
Previously I configured cargo workspaces, which solved the problem, but it is not in alignment with the rules of our monorepo (the repo should be language agnostic), so this is a no-go.
Metadata
Metadata
Assignees
Labels
devopsAll things devops (Nix, language servers, editors, code quality etc)All things devops (Nix, language servers, editors, code quality etc)
Type
Projects
Status
Done