Practical Bazel: Force Line Endings to LF
Practical Bazel bazel cross-platform windows linux
Bazel requires all files to end with LF (not CR-LF) in order to work correctly.
If you are performing cross-platform Bazel development with Windows users, you
can force this setting for all text files in your repo by creating a
.gitattributes file with the following content: