일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- 내배위의고양이
- classList toggle
- 안짤렸다
- windowwidth
- 커스텀훅
- react
- react-router
- chart responsive
- classList add
- 접근성
- classList
- 클래스 토글
- react-router-dom
- 2020
- 를
- 배열중복제거
- 퍼블리싱
- 리엑트할수있는퍼블리셔라규
- chart.js
- 언젠간가겠지
- 포트폴리오
- classList remove
- 방심은금물
- 간식금지다!
- new set()
- 냥빨이다가온다
- 대표님물리기없기
- className
- ROUTER 버전6
- set()
Archives
- Today
- Total
틈
'react-app' 있을 때, eslint 설정 적용하기 본문
https://stackoverflow.com/questions/60431931/eslint-error-eslint-couldnt-find-the-config-react-app
ESLint error - ESLint couldn't find the config "react-app"
Me with my team, start a new React Project using the create-react-app bootstrap command. We add the eslint section on the project but we stuck with annoying error that we never found it before now....
stackoverflow.com
intelij 오류인지 모르겠으나, 한참을 고민...
결국 위의 내용대로
npm ls eslint-config-react-app
react-app 전용 eslint를 설치하고
"eslintConfig": {
"extends": "react-app"
},
package.json에 위의 코드를 추가하고
위의 2줄을 주석처리하니 적용되더이다....
어째서?????
'code > React.js' 카테고리의 다른 글
[React] 브라우저 대응(with.javascript) (0) | 2022.03.07 |
---|---|
[REACT] router (0) | 2022.01.18 |
[styled component] 변수 지정하기 (0) | 2022.01.13 |
[styled component] 기본 내장 함수(?) (0) | 2022.01.11 |
[REACT] useEffect 사용하기 (0) | 2022.01.10 |
Comments