-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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: Commitizen and lint-staged/prettier are not working in the correct order. #1410
Comments
What's happening? This is what should happen:
|
Can you give it a try! Add some comments or something and test out the process. May move and update the contributing section in the readme to a contributing.md file?
…On Jul 26, 2019, 11:14 AM -0600, Larry Botha ***@***.***>, wrote:
What's happening?
This is what should happen:
• make changes
• stage changes
• npm run commit
• enter commit details via prompts
• pre-commit hook runs after details are entered, processing files, and adding changed files to commit
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hmm. I see now. Here's what I'm thinking, let me know you're thoughts:
How would we do that? I started trying to set that up and that's when the formatting and staging order got switched around? |
hmmm ye, you can add 'prepare-commit-msg': 'exec < /dev/tty && git cz --hook'` to Looks like it doesn't work on Windows, either: commitizen/cz-cli#627 Probably better to reject a commit message if it doesn't follow a specific convention; something like |
Yeah, that's probably best. |
@larrybotha Would love a second pair of eyes on this.
The text was updated successfully, but these errors were encountered: