eslint 실행 중 에러가 났다.
에러 문구는 다음과 같다.
Warning: React version not specified in eslint-plugin-react settings. See https://github.com/yannickcr/eslint-plugin-react#configuration .
구글링 결과 해결 방법 두가지가 있는데
.eslintrc.js파일에서
settings: {
react: {
version: 'detect',
},
},
또는
settings: {
react: {
version: '999.999.999',
},
},
를 추가하여 해결했다.
댓글