Working with .sh files on Windows causes issues when running them in Linux Docker containers if they have EOL of CRLF. Can I make VS Code always work with LF fo
.sh
You can use EditorConfig.
Install the editorconfig extension, and then add a .editorconfig file at the root of your project with this:
.editorconfig
[*] end_of_line = crlf [*.{sh}] end_of_line = lf
But as @axiac said, I would recommend to always use lf...
lf