I have some weird problem with formatting, using WebStorm on Windows. In WebStorm preview code is looking just fine but when I open GitHub preview there are some weird signs like ^M
and all code is just one-liner. I was trying to investigate this but without any success.
My only solution is to cut file content, paste to Notepad and then create a new file and paste content from Notepad.
I don't know does it matter but a lot of files in this project was copy+pasted from other project which might be initially wrote on Mac. I don't think it matters because it is happening also for newly created files.
It is a problem with only one repository so I excluded some global problem.