반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- vue-cli
- SSR
- QUIC
- TLS
- csr
- Testing
- svelte
- Cypress
- ViTE
- devtools
- 비동기
- JavaScript
- api test
- e2e
- web vital
- ts error
- typeScript
- msw
- vue
- https
- custom command
- rendering
- CloudFlare
- aws
- CSS
- import.meta.env
- vue3
- http3
- 선택자
- caching
Archives
- Today
- Total
Develop Note by J.S.
[Programming] eslint linebreak Error 본문
반응형
Window와 Mac OS의 Default 개행문자 차이로 Build 시 linebreak Erorr가 발생됩니다. 아래는 해당 이슈에 대한 두 가지 해결방법입니다.
1. IDE 및 Git Config Setting
Ex. Webstorm IDE

git config --global core.eol lf // mac LF 기준
git config --global core.autocrlf input // LF를 line ending 으로 사용
-> 이후 Local Repository 삭제 후 다시 git clone 시 오류 해결
2. eslint Option 설정
// .eslintrc.js
module.exports = {
...
rules : {
'linebreak-style' : 0
}
}
반응형
'Knowledge > Programming' 카테고리의 다른 글
[Programming] Memory Leak 유형 & 식별방법 (0) | 2023.08.28 |
---|---|
[Programming] Memory Leak (메모리누수 with V8) (3) | 2023.08.21 |
[Programming] 정렬(힙 정렬 제외 오름차순 정렬 기준) (1) | 2023.07.10 |