Closed WonhyeongLee closed 1 year ago
@fontsource 업데이트 시 @fontsource/montserrat/variable.css 가 존재하지 않는 현상이 일어나서 @fontsource/montserrat 폴더에서 필요한 폰트 css를 추가로 import 해서 해결했습니다.
Gatsby 전역 변수 __PATH_PREFIX__ 를 eslint에서 인식하지 못해서 eslint에 globals를 추가해서 해결했습니다. https://github.com/WonhyeongLee/Wonhyeong.develop.log/commit/1225a12db39df59ae1898947d31d97d5bc296edc
prettier/prettier 가 rules 안에 위치해야 하는데 맨 아래에 적어서 에러 났던 부분 해결했습니다. https://github.com/WonhyeongLee/Wonhyeong.develop.log/commit/51551758c77da82122eef465a211e39deff11d02
semi규칙을 고민했는데 ASI 기능과 StandardJS 가이드를 보고 처음에 false로 했다가 airbnb와 google 규칙을 살펴본 결과 모두 true로 사용하고 있어서 true로 설정하고 prettier도 true로 변경했습니다.
작업내용
11 이슈에 대한 작업 수행
작업 중 고민, 해결한 부분
패키지관련https://github.com/WonhyeongLee/Wonhyeong.develop.log/commit/1e99bb2b1d4debc39225e373b4ce28f11374968e
@fontsource 업데이트 시 @fontsource/montserrat/variable.css 가 존재하지 않는 현상이 일어나서 @fontsource/montserrat 폴더에서 필요한 폰트 css를 추가로 import 해서 해결했습니다.
eslint 관련
Gatsby 전역 변수 __PATH_PREFIX__ 를 eslint에서 인식하지 못해서 eslint에 globals를 추가해서 해결했습니다. https://github.com/WonhyeongLee/Wonhyeong.develop.log/commit/1225a12db39df59ae1898947d31d97d5bc296edc
prettier/prettier 가 rules 안에 위치해야 하는데 맨 아래에 적어서 에러 났던 부분 해결했습니다. https://github.com/WonhyeongLee/Wonhyeong.develop.log/commit/51551758c77da82122eef465a211e39deff11d02
semi규칙을 고민했는데 ASI 기능과 StandardJS 가이드를 보고 처음에 false로 했다가 airbnb와 google 규칙을 살펴본 결과 모두 true로 사용하고 있어서 true로 설정하고 prettier도 true로 변경했습니다.