Maintenance: improve husky pre-commit hook #1359
Labels
automation
This item relates to automation
completed
This item is complete and has been merged/shipped
internal
PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
Summary
As reported by @shdq on Discord, the current iteration of the
pre-commit
hook defined is not applying theeslint
fixes in the correct order, and instead it's doing so in the files already committed.Why is this needed?
The expected behavior should be to lint the staged files instead and fix them before they are committed.
Which area does this relate to?
Automation
Solution
No response
Acknowledgment
Future readers
Please react with 👍 and your use case to help us understand customer demand.
The text was updated successfully, but these errors were encountered: