Closed dplewis closed 3 months ago
Closes: #123
in the PR description, so I can recognize it.All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
b50790a
) to head (bd2e49f
). Report is 47 commits behind head on alpha.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Does this pre-commit hook run prettier and then lint fix? The 2 produce different outputs.
I see now this is running the prettier script which also runs lint fix; I assume it would only run prettier. All good.
@mtrezza I made some changes to bring the hook closer to the original implementation. This is ready for review.
🎉 This change has been released in version 5.2.0-alpha.2
🎉 This change has been released in version 5.2.0-beta.1
🎉 This change has been released in version 5.2.0
Pull Request
Issue
After Husky updated to v8 it has been broken.
Approach
Run the typescript parser for prettier, style and lint TS files. Prettier now runs before every commit and enforces the styling convention. No functional changes have been made.
Tasks