gitattributes#
Normalize line endings through .gitattributes.
Each repository configures EditorConfig to expect LF line endings. On Windows, Git
checks files out with CRLF line endings if core.autocrlf is set, so checks like
editorconfig-checker fail on files that were never touched. The attribute *
text=auto eol=lf makes Git check out text files with LF line endings, regardless of
the configuration of the user.
- EXPECTED_LINE = '* text=auto eol=lf'#
Catch-all attribute that has to come first, so that later patterns override it.