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

Add Lefthook pre-commit configuration #30

Merged
merged 7 commits into from
May 2, 2024
Merged

Add Lefthook pre-commit configuration #30

merged 7 commits into from
May 2, 2024

Conversation

praseodym
Copy link
Contributor

This PR will add a basic Lefthook pre-commit configuration with Rust formatting (using rustfmt via cargo fmt) and linting (Clippy) for the backend and linting (using ESLint) for the frontend.

Frontend formatting (using Prettier) will be added in a separate PR because the current codebase is not formatted using Prettier yet.

Lionqueen94
Lionqueen94 previously approved these changes Apr 26, 2024
@praseodym praseodym linked an issue Apr 29, 2024 that may be closed by this pull request
Add `.ladle` to ESLint and TypeScript configurations.
@praseodym praseodym force-pushed the lefthook branch 2 times, most recently from 48b3550 to 1fd1a74 Compare May 1, 2024 10:06
praseodym added 2 commits May 1, 2024 12:06
This file is automatically (re)created when running `npm install`.
Because its formatting does not follow our Prettier rules, this causes
an error in the CI formatting check.
@praseodym praseodym marked this pull request as ready for review May 1, 2024 11:38
@praseodym praseodym merged commit d279d49 into main May 2, 2024
2 checks passed
@praseodym praseodym deleted the lefthook branch May 2, 2024 08:40
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.

Set up Git pre-commit hook
4 participants