# Set the default behavior, in case people don't have core.autocrlf set. * text=auto # Explicitly declare text files you want to always be normalized and converted # to native line endings on checkout. *.cpp text *.hpp text # Declare files that will always have CRLF line endings on checkout. *.bat text eol=crlf *.cmd text eol=crlf *.ps1 text eol=crlf # Declare files that will always have LF line endings on checkout. *.sh text eol=lf # https://eslint.org/docs/latest/rules/linebreak-style#using-this-rule-with-version-control-systems *.js text eol=lf