Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLT-7420 Add nixago and treefmt configuration #23

Merged
merged 3 commits into from
Sep 6, 2023

Conversation

hrajchert
Copy link
Collaborator

@hrajchert hrajchert commented Sep 4, 2023

This PR adds treefmt to handle file formatting. It uses alejandra to format nix files and prettier to format web based files.

To test, enter nix develop, modify a file to break the formatting and try to commit, the pre-commit hook should fail.

@bjornkihlberg bjornkihlberg force-pushed the hrajchert/PLT-7420-add-prettier-precommit branch from 644b39c to 57e97d8 Compare September 6, 2023 13:11
Copy link
Contributor

@bjornkihlberg bjornkihlberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@hrajchert hrajchert merged commit 66fe2ba into main Sep 6, 2023
1 check passed
@hrajchert hrajchert deleted the hrajchert/PLT-7420-add-prettier-precommit branch September 6, 2023 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants