eslint

에러 빠르게 Vercel에 배포해보려다가 에러 발생Error: Unexpected any. Specify a different type.  @typescript-eslint/no-explicit-any 해결법eslint 설정 파일에서 규칙을 수정해주면 된다..eslintrc.json의 rules에 "@typescript-sxlint/no-explict-any" : "off" 추가//.eslintrc.json{ ... "rules": { // Unexpected any. Specify a different type 문구 제거 "@typescript-eslint/no-explicit-any": "off", // React, { ReactElement } fr..
소스코드의 표준화와 자동 포매팅을 수행해, 소스 코드의 품질을 유지하는데 도움을 주는 도구들을 설치해 보도록 하겠습니다. 다음 플러그인들을 설치합니다. typescript-eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-import npm install --save-dev prettier eslint typescript-eslint @typescript-eslint/parser@6.1.0 @typescript-eslint/eslint-plugin eslint-config-prettier e..