chore: avoid linefeed errors running on windows (#2277)
Some tests fail on windows due to `\r\n` vs `\n`:
code_compensation_indent
code_consistent_newline
whiltespace_lines (sic)
Updated .gitattributes to preserve the `eol` value.
Signed-off-by: Chris. Webster <chris@webstech.net>