[INTT-54] Add code formatters for general projects#27
Open
tlater-famedly wants to merge 2 commits into
Open
Conversation
b01aa11 to
8779985
Compare
7d3ce0d to
541b197
Compare
8779985 to
967200f
Compare
541b197 to
5d5a75e
Compare
e2c0d4d to
9d3cce6
Compare
d0c9fd7 to
98dc997
Compare
9d3cce6 to
b827153
Compare
98dc997 to
5e4322c
Compare
b827153 to
1fa2de8
Compare
5e4322c to
a73e464
Compare
1fa2de8 to
55899db
Compare
2b0046a to
03ae9e0
Compare
55899db to
ec56415
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds formatting with
treefmt, including a pre-commit hook for it. This seems to be reasonably performant, so I think it's fine to keep it in the pre-commit hooks.Documentation is added via devshell commands, which should hopefully be convenient enough for downstream users.