eslint linebreak-style 오류해결

박은정·2023년 6월 5일
0

TIL

목록 보기
69/70

출처: https://ddeck.tistory.com/48

Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style
Expected linebreaks to be 'CRLF' but found 'LF' linebreak-style

vscode 의 아랫부분에 CRLF 로 되어있는 부분을 LF/CRLF 로 바꾸면 된다고 한다.

$ git config core.autocrlf false (혹은 true)
$ git rm --cached -r . 
$ git reset --hard

한동안 애먹은 부분이었는데 한번에 해결되서 다행이다.

profile
새로운 것을 도전하고 노력한다

0개의 댓글