My question is - why do you even have that prettier rule? Why do you force a particular line ending style?
IMO the proper fix for the problem you have is to relax the rule - change it to forcing a uniform line ending style across the file, not a particular one.
I am generally against using a code repository to modify files in any way. What next - server-side merges?
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.