Package Exports
- @yunyeji/eslint-config-react
- @yunyeji/eslint-config-react/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@yunyeji/eslint-config-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@yunyeji/eslint-config-react
React.js 프로젝트를 위한 ESLint 공통 스타일 설정 패키지입니다.
소개
이 패키지는 React, TypeScript, TSX 환경에서 일관된 코드 스타일과 규칙을 강제하기 위한 ESLint 설정을 제공합니다.
프로젝트마다 반복적으로 설정하기 번거로운 ESLint 규칙들을 모아두어 쉽게 적용할 수 있습니다.
설치
npm install --save-dev @yunyeji/eslint-config-react또는
yarn add -D @yunyeji/eslint-config-react이 패키지는 peerDependencies로 React, ESLint, TypeScript 등을 요구합니다. 프로젝트에 아래 패키지들이 설치되어 있어야 합니다
npm install react react-dom @types/react @types/react-dom사용법
프로젝트 루트의 .eslintrc.js에 다음과 같이 설정하세요:
module.exports = {
extends: ["@yunyeji/eslint-config-react"],
};라이선스
MIT