Provide git config for crlf

it break eslint check

1:14   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style

I see no reason why a tool shouldn’t expect Windows line endings in Windows. has an example how to make ESLint require OS-specific EOL style.

FWIW, you can convert line endings in the worktree CRLF->LF as per :

git config core.autocrlf false
git add --renormalize .
git reset --hard
1 Like