Found this solution via this discussion:
You can also set the default EOL in notepad++ via "Settings" ->
"Preferences" -> "New Document/Default Directory" then select
"Unix/OSX" under the Format box.
Note: One can always use an out-of-band option using the command line:
unix2dos *.cmd
dos2unix *.sh