I am using the awesome ATOM on windows (urfortunately). So having this problem with line endings.
sublime Text till now which had this inbuilt and i could set default to unix line endings.
Downloaded a line ending package
Line Ending Conveter but then i have to mannually select all the text and run it, is there a config where i can set it to default such that my line endings are set to unix line endings by default.