Public
Authored by 정덕찬

ESLint 설정 - React & Typescript용

코딩 컨벤션에 위배되는 코드나 안티 패턴, 그리고 에러를 미리 검출해주기 위한 ESLint의 설정입니다.
현재는 많은 제약을 두고 있지는 않으나, 추후 엄격하게 관리되어질 수 있도록 업데이트해나갈 예정입니다.

ESLint를 적용하기 위해서는 아래 의존성 패키지들을 개발용 패키지로 설치해주셔야 합니다.

  • eslint
  • eslint-plugin-import
  • eslint-plugin-unused-imports
  • eslint-import-resolver-babel-module
  • *React eslint-plugin-jsx-a11y
  • *React eslint-plugin-react
  • *React eslint-plugin-react-hooks
  • *Typescript @typescript-eslint/parser
  • *Typescript @typescript-eslint/eslint-plugin
Edited
.eslintrc.js 563 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment