React
jsx 파일에서 ESLint 각종 오류 해결 방법
manyYun
2022. 7. 5. 13:59
https://coolbiz.tistory.com/73
VSCode에서 TypeScript 경고를 비활성화하는 방법은 무엇입니까?
VSCode에서 TypeScript 경고를 비활성화하는 방법은 무엇입니까? 당분간 TypeScript를 사용하지 않습니다. 바벨이있는 ES6 만. node_modules에 TypeScript를 설치하지 않았습니다 . 작업 영역을 열 때마다 VSCode..
coolbiz.tistory.com
ts오류
package.json에서 "rules"에 아래 코드 추가
"no-unused-vars": "off"
화살표 함수
"arrow-body-style": ["error", "always"]
출처 : https://eslint.org/docs/latest/rules/arrow-body-style
++ or -- 오류
"allowForLoopAfterthoughts": true