2023/04 5

prettier-eslint, eslint 설정

모든 방식은 제가 문서를 보고 적용한 방식인데, 잘못 된 정보가 포함 되어 있을 수 있습니다. 모듈 설치 pnpm i -D husky eslint-plugin-vue lint-staged prettier-eslint prettier-eslint-cli eslint-config-prettier pnpm 기준이지만, npm을 쓴다면 npm, yarn이라면 yarn으로 바꿔서 설치만 하면 된다. prettier-eslint 방식으로 설정 하는 이유는 기존 plugin 방식보다 속도가 더 빠르고, 가이드에서도 더 권장하는 방법이라 그렇다. https://prettier.io/docs/en/integrating-with-linters.html 모듈 설명 husky git hook을 쉽게 실행 시켜 주는 역할을 한..

ChatGPT vs Bard

#chatgpt #bard https://bard.google.com/ Bard Bard is your creative and helpful collaborator to supercharge your imagination, boost productivity, and bring ideas to life. bard.google.com bard를 쓸 수 있게 되서 써 봤는데, chatGPT 보다 속도가 좀 더 빠르고, chatGPT를 구독 할 이유가 없겠다 싶어졌다. 그리고 답변하는 퀄리티도 훨씬 좋은 것 같은데, 아래는 예시다. Q) Please tell me the difference between MySQL 5.7 L and MySQL 8.0 A) ChatGPT The differences between..

승돌 쓰다 2023.04.19

Kotest 기본만 알아보자

kotest link: https://kotest.io Kotest is a flexible and elegant multi-platform test framework for Kotlin with extensive assertions and integrated property testing. Testing Styles junit 스타일 지원, JS에서 많이 사용하는 jest와 유사한 테스트 스타일 지원, goovy로 작성하는 spock과도 유사한 형태의 behavior test 스타일도 각기 모두 지원한다. 테스트 스타일 종류 Fun Spec(Scala) Describe Spec(JavaScript framework) Should Spec(kotest) String Spec(kotest) Behavior..

reactor-kafka version up 이슈 (No subscriptions have been created)

이관 받은 코드에서 reactor-kafka 버전을 1.2.5.RELEASE 버전을 쓰고 있었는데, 버전 업그레이드를 하면서 겪은 이슈는 다음과 같았다.2023-04-10 18:17:36.601 ERROR 1 --- [ard.processor-1] r.k.r.internals.ConsumerEventLoop : Unexpected exception java.lang.IllegalStateException: No subscriptions have been created at reactor.kafka.receiver.ReceiverOptions.subscriber(ReceiverOptions.java:515) at reactor.kafka.receiver.internals.ConsumerEventLoop$S..

반응형