Staged Linting and Formatting with Git Hooks #7666
nazarhussain
started this conversation in
General
Replies: 3 comments 4 replies
-
Not sure I agree with this. About the only thing i would be open to would be lint before push but I def dont link lint on stage or lint on commit. |
Beta Was this translation helpful? Give feedback.
0 replies
-
please no git hooks, |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Our team has recently adopted Biome as our primary linting and formatting tool. Biome has proven to be extremely fast and efficient, yet we are still noticing unformatted or incorrectly linted code slipping through, only to be caught during CI. This introduces friction later in the development lifecycle, requiring additional cycles to fix what could have been automatically handled earlier.
Problem
Past Concerns
Previously, there was hesitation to implement git hooks using tools like Husky due to concerns about developer experience (DX) being blocked by slow linting processes.
Why Now
With the introduction of Biome, which offers ultra-fast linting and formatting, the previous concerns about speed and DX are no longer relevant. Biome performs linting and formatting in milliseconds, making pre-commit hooks nearly unnoticeable to developers.
Proposal
Benefits
Next Steps
Please share your opinion for adopting or not-adopting above mentioned solution.
Beta Was this translation helpful? Give feedback.
All reactions