-
-
Notifications
You must be signed in to change notification settings - Fork 254
Add lefthook for precommit hook #1152
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,5 @@ | ||||||||||||
| pre-commit: | ||||||||||||
| parallel: true | ||||||||||||
| jobs: | ||||||||||||
| - run: yarn format | ||||||||||||
|
Comment on lines
+3
to
+4
|
||||||||||||
| jobs: | |
| - run: yarn format | |
| commands: | |
| format: | |
| run: yarn format |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -80,6 +80,7 @@ | |
| "chokidar": "^4.0.3", | ||
| "dotenv": "^16.4.7", | ||
| "jsdom": "^26.1.0", | ||
| "lefthook": "^2.0.4", | ||
|
||
| "lightningcss": "^1.30.1", | ||
| "prettier": "^3.6.2", | ||
| "reanalyze": "^2.16.0", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a comment at the top of the lefthook configuration file to explain its purpose and how to set it up. For example:
This helps other developers understand the purpose of this file and how to use it.