-
Notifications
You must be signed in to change notification settings - Fork 4
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(infra): only lint staged files #153
Conversation
just had to change gh workflow |
AFAICS, it runs the build in the alphabetical order. Due to the pattern |
37b8a91
to
09121c5
Compare
That's right, @marianfoo - I missed to adopt to move this to the pre-commit phase. The pre-push only made sense because of the full lint run. |
Only the |
Because of the merge commit it is enough to lint the last commit message. |
Change is good to go - can finally discuss it tomorrow morning... |
will do! |
52fd20d
to
053b9f5
Compare
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.
LGTM!
"lint": "yarn workspaces run lint", | ||
"lint:staged": "yarn workspaces run lint:staged", | ||
"hooks:pre-commit": "npm-run-all --sequential prettier:staged lint:staged", | ||
"hooks:pre-push": "npm-run-all --sequential lint:commit" |
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.
No description provided.