초기 설정 및 eslint, prettier 설정 그리고 툴마다 제공하는 eslint, prettier 플러그인 설치 하기
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) install dependencies: | |
yarn add @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-airbnb-typescript eslint-config-prettier eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks prettier --dev | |
2) create .eslintrc.js file: | |
``` | |
module.exports = { | |
parser: "@typescript-eslint/parser", // Specifies the ESLint parser | |
extends: [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Portable Version KEYS: | |
P6Z3T-UYJC9-YAK3F-APN9M-6ZDSD | |
FGZPK-93CWX-Q33Y6-D5URV-YXC3X | |
9CZQX-9YAQA-PF33L-XVUQH-NSD48 | |
8RZ3L-H3Y5L-W2RY5-Z5M8N-C7Z2U | |
CCZNU-LW3LF-K9V2T-MYZFF-94667 | |
EWZM6-3W4UX-KH922-C96GK-VGBH2 | |
Standard Version KEYS: | |
4AZNW-S2YHE-LLMWM-J6EL8-7QKDL |