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 |
| 31 |
Tags
- input type=file
- gitaction
- API token
- next.js css
- nextjs .env
- fetch
- react env
- bootstrap
- ngrok설치
- ngrok실행
- dart 변수
- SCSS
- npm styled-reset
- Git
- git lab
- CSS
- getModifierState
- github
- github io
- next.js
- react
- typescript react
- createGlobalStyle
- There isn’t anything to compare
- react typescript
- API 토큰
- icon
- styled components
- rewrites
- nextjs
Archives
- Today
- Total
꾸준히 성장하는 개발자
[eslint에러] Delete `␍`eslint prettier/prettier 본문

타입스크립트 공부 중에 에러 밑줄이 뜨는 것이 너무 신경 쓰여 해결하는 방법을 찾아봤다.
eslint로 인해 나는것인데 프로젝트가 진행되는 것에 있어서는 문제는 없다고 한다.
그래도 빨간줄이 신경 쓰이니 해결방법을 찾아보자

rules: {
'prettier/prettier': [
'error',
{
endOfLine: 'auto',
},
],
},
.eslintrc.js 파일에 위 문구를 추가해주면 해결이 된다.
'Typescript' 카테고리의 다른 글
| [TypeScript] interface / Type Aliases(타입 별칭) (0) | 2022.09.16 |
|---|---|
| [TypeScript] eslint 노란 밑줄이 나타나지 않을 때 (0) | 2022.09.15 |
| [TS] 라이브러리 설치와 tsc (0) | 2022.09.11 |
| TypeScript Basic Types (0) | 2022.01.05 |
| TypeScript 란 ? (0) | 2021.12.24 |
