Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Flint – Write code your way while ensuring remote consistency (github.com/capsulescodes)
13 points by mho22 1 day ago | hide | past | favorite | 2 comments
I just released my biggest project yet: Flint, a language-agnostic Git wrapper that lets developers code using their own formatting preferences locally, while automatically enforcing the project's style on push.

No more fighting over tabs vs spaces or dealing with noisy diffs.

GitHub: https://github.com/capsulescodes/flint Documentation: https://flintable.com/docs/flint/ Article: https://capsules.codes/en/blog/flintable/en-flintable-introd...






What's the difference between this and registering pre and post commit hooks?

When you pull or check out a branch, Flint formats the fetched files using your local style and makes a temporary commit so that Git operations work without conflict. Then, before pushing, Flint resets that commit and re-applies formatting using the remote style. This ensures your working copy stays in your preferred format while the code pushed to the repository always matches the remote standard. This is why it needs more than pre and post commit hooks.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: