You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have pre-commit hooks to enforce LF line endings, this fails on every commitizen commit as it writes CRLF on windows. An option to configure this would be good.
Possible Solution
Hacky, but I have customized my local commitizen and found all instances of open and added newline='\n' to them if they are w opens. And option in the .cz.yaml to specify this would be the optimal method.
Activity
Lee-W commentedon Mar 13, 2022
@woile I'm good with it and think it might be helpful. What do you think?
feat: option to specify newline types
feat: determine newline to write with Git
woile commentedon Mar 13, 2022
I'm also good with it as an option in the configuration
feat: Determine newline to write with Git
feat: Determine newline to write with Git
feat: Determine newline to write with Git
feat: Determine newline to write with Git