On Windows 10, IDE is Visual Studio Code
I am working with a Ts.Ed node environment for work. We have a repository that is originally written with LF line breaks. As a Windows user, my IDE converts all of my files to CRLF. I have to manually convert all files to LF if I want to keep consistent.
One of our repositories with the above setting is not allowing me to commit because of this Husky error (as displayed here in Stack Overflow. After following the instructions in the Stack Overflow link to fix it, it finally lets me commit my work, however it commits almost every other file in the system that I haven't touched but have decided to commit itself in git because of the LF-> CRLF change.
Is there a way I can prevent this from happening without having to manually convert all files to LF?