-
Notifications
You must be signed in to change notification settings - Fork 2
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 Pre-Commit Hook #67
Conversation
@@ -0,0 +1 @@ | |||
yarn format && git add . |
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.
Main Addition
{ | ||
"devDependencies": { | ||
"husky": "9.0.11", | ||
"npm-run-all": "4.1.5" | ||
}, | ||
"scripts": { | ||
"prepare": "husky", | ||
"format": "run-s format:*", | ||
"format:frontend-client": "cd apps/client && yarn format", | ||
"format:frontend-waitlist": "cd apps/wait-list && yarn format", | ||
"format:services-main": "cd services/main && make lint" | ||
} | ||
} |
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.
Main Addition
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.
all right
|
||
lint: | ||
dotnet format main.sln |
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.
Main Addition
No description provided.