eslint 오류

Durumi Gim·2021년 5월 2일
  • Expected linebreaks to be 'LF' but found 'CRLF'

아래와 같은 오류를 수정하는 방법

.eslintrc.js 에 아래와 같이 입력한다.

module.exports = {
    ....
    rules: {
        'linebreak-style': 0,
        ....
    }
}
  • Newline required at end of file but not found
    eol-last
    : 이거는 마지막 줄에 엔터한번 해달라는 뜻.. 은근히 이거는 잘 까먹고 그런다.
  • "react/prop-types": "off"
                                                       
profile
마음도 몸도 튼튼한 개발자

0개의 댓글