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

Speed up commit hooks #287

Merged
merged 2 commits into from
Feb 27, 2024
Merged

Speed up commit hooks #287

merged 2 commits into from
Feb 27, 2024

Conversation

mbeckem
Copy link
Contributor

@mbeckem mbeckem commented Feb 27, 2024

  • Use lint-staged to only run prettier / eslint on changed files
  • Use vitest's --changed flag to only run tests affected by changed files

- Use lint-staged to only run prettier / eslint on changed files
- Use vitest's `--changed` flag to only run tests affected by changed files
@mbeckem mbeckem merged commit 15d24fa into main Feb 27, 2024
4 checks passed
@mbeckem mbeckem deleted the chore/faster-commit-hooks branch February 27, 2024 12:02
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