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
- API 토큰
- input type=file
- next.js css
- rewrites
- SCSS
- nextjs 설치
- github io
- CSS
- git lab
- react typescript
- dart 변수
- getModifierState
- There isn’t anything to compare
- react
- npm styled-reset
- createGlobalStyle
- icon
- typescript react
- 컨디셔널 렌더링
- styled components
- bootstrap
- fetch
- nextjs
- react env
- Git
- nextjs .env
- ngrok실행
- github
- ngrok설치
- API token
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 |