Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add pre-commit hook #705

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

woai3c
Copy link
Contributor

@woai3c woai3c commented Mar 31, 2024

Description

Every time when merging a PR, we only discover formatting errors during the validation process. Now, by adding a Husky pre-commit hook, we can detect these errors before code submission and make immediate corrections. Otherwise, we would only discover these issues during the code review after submitting the PR.

Test Plan


Copy link

netlify bot commented Mar 31, 2024

Deploy Preview for rolldown-rs canceled.

Name Link
🔨 Latest commit 5967097
🔍 Latest deploy log https://app.netlify.com/sites/rolldown-rs/deploys/66090c843b1c54000875840e

Copy link

codspeed-hq bot commented Mar 31, 2024

CodSpeed Performance Report

Merging #705 will not alter performance

Comparing woai3c:feature/husky (5967097) with main (ae9c7d0)

Summary

✅ 4 untouched benchmarks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant