Conversation
There was a problem hiding this comment.
I made a trivial spacing change on this file to see if it would run it on the staged file and it did!! Woooo!
|
So I disable husky pre-hook stuff locally - it does not play nice with git on windows. I'm agreeable to adding this, but I'd really really like to remove some (most?) of these lint rules. |
|
Sorry, could've made the intent here clearer. This is to auto-fix any fixable rules or formatting on commit, not to block commits if they fail a check. Also I need to verify it's working how I expect! I forgot to test if it allows you to successfully commit with a linting error in the code. |
|
Shoot, it does prevent commits if there are errors. Will look into this again later! |
|
Finally got back to this and made it so it doesn't block any commits if there are lint errors happening while still doing any formatting or safe linting fixes! This is ready to go 😁 |
chore: Husky and lint staged
What
Add pre-commit hooks to run the biome fixes that can be done
How
Add
huckyAdd
lint-stagedAdd the configs
PR Checklist
main?