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
- 각자의 밤
- 도메인
- release
- 제어문
- 레거시 마이그레이션
- 직귀율
- pop
- 사이트 이동 경로
- first view
- ADSL
- Array
- 인공지능
- 자바스크립트 함수
- 중요한건 꺾이지 않는 마음
- 不不怕变
- Electronic Commerece
- Done is better than perfect
- 반응형 디자인
- Great things take time
- 배열
- 퍼스트 뷰
- 기술면접 후기
- javascript function
- 자바스크립트
- 怕不变
- bom
- 릴리스
- 객체
- 내장객체
- javascript
Archives
- Today
- Total
1일1끄적
[VSCODE/ESLINT] Delete `␍` prettier/prettier 본문
▶날짜: 22-02-15
▶상황&에러내용:
프로젝트에 prettier와 eslint를 적용하는 중
ctrl+shift+p 후에 preferences: open workspace setting(json) 에서 다음과 같이 설정을 하고난 후에 하단과 같이
자동으로 prettier와 eslint에 따라 수정을 해주는데 " Delete `␍` prettier/prettier " 라는 빨간줄이 그어짐
▶해결방법: 구글 검색=>https://velog.io/@realsong/VS-Delete-prettierprettier-%ED%95%B4%EA%B2%B0-%EB%B0%A9%EB%B2%95
[VS] Delete `␍` prettier/prettier 해결 방법
Prettier와 ESLint를 프로젝트에 적용 후 npm start를 하니 아래과 같은 에러가 우수수~이게 머선일이고?windows환경에서 발생하는 문제인지...처음에는 노가다로 해결을 해보았었다. 파일마다 열여서 CRL
velog.io
.eslintrc.json 파일에서 "rules"에 하단과 같은 코드를 추가 시켜주니 해결되었다.
"prettier/prettier": ["error", { "endOfLine": "auto" }]
※ 결과
'개발 > 에러기록' 카테고리의 다른 글
Comments