Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
관련 이슈
close #142
✨ 작업 내용
계속해서 eslint 설정이 되지 않아서 여러 방법 시도 끝에 성공했습니다. ✌️
(혹시나 pull 받으시고 에러날까봐, 티켓 따로 만들었습니다!)
해결 순서는 다음과 같습니다.
1.
yarn cache clean
2.
yarn install
3.
yarn dlx @yarnpkg/sdks vscode
4. TypeScript Version 선택
shift
+command
+p
>Select TypeScript Version
>Use WorkSpace Version
설명
캐시 삭제 및 재설치
캐시를 삭제하고 yarn을 다시 설치했습니다.
yarn dlx @yarnpkg/sdks vscode
yarn berry의 PnP 기능을 사용할 때에는 TypeScript, Eslint, Prettier가 정상적으로 작동하도록 추가적인 구성이 필요하다고 해요! vs가 패키지를 yarn berry로 불러와야 한다는 사실을 알 수 있게 별도의 설정을 해줘야 하는데, 요 설정을 해주는 yarn berry 전용 vs Code SDK라고 합니당.
그 후 vs 설정에서 ts를 현재 프로젝트 버전으로 맞춰줬더니 eslint 이제 잘 작동합니다!
🙏 기타 참고 사항
역시나 저만 나는 에러는 아니였어요. 😢
yarnpkg/berry#6219