CRA (1) 썸네일형 리스트형 [Project / React] CRA부터 Prettier, ESLint, Husky 설정 실습(Typescript) 1. CRA 타입스크립트를 기반으로 하는 리액트 프로젝트를 만들기 위해서 터미널을 키고 명령어를 작성해줍니다. npx create-react-app [프로젝트 이름] --template typescript 2. ESLint eslint : eslint 라이브러리 @typescript-eslint/eslint-plugin : TypeScript관련 linting 규칙을 처리하는 플러그인 @typescript-eslint/parser : Typescript 코드에 대한 *AST 생성 ESLint 설정을 위해 세가지 라이브러리를 설치합니다. npm install eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin --save-dev 그 후 ro.. 이전 1 다음