-
Notifications
You must be signed in to change notification settings - Fork 95
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
Add a CSS Auto-Formatter #110
Comments
Does husky it's a good choice to serve as a Git Hook interface ( |
Not sure about husky in particular. We're using Nix to manage our dependencies, so having something we can easily add to a Nix shell would be good—what would it take to set something like husky up in Nix? |
@TikhonJelvis Husky it's a |
I'm not sure about the best way to manage git hooks with Nix. A pre-commit hook is more of a nice-to-have convenience than a tool that's absolutely necessary, so adding a direct dependency on NPM for it seems to add too much complexity to be worth doing.
With this setup, people working in the repo can run |
@TikhonJelvis Thanks for the suggestions, I'll work on that ;) |
Is this haskeller's way of formatting css? Does #116 have chances to land, in case a tool like stylelint or prettier is integrated via nix? |
We should add a CSS auto-formatter to the nix environment, and format the existing CSS so that it looks nice. Consider possibly using a commit hook to auto-format new commits.
The text was updated successfully, but these errors were encountered: