0.4.0-alpha • Published 3 years ago

@koreacreditdata/eslint-config v0.4.0-alpha

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

@koreacreditdata/eslint-config

Installation

$ npm install --save-dev @koreacreditdata/eslint-config

or

$ yarn add -D @koreacreditdata/eslint-config

How to use

1. Recommended

module.exports = {
  extends: "@koreacreditdata",
};

또는 필요한 규칙만 extends 해서 사용할 수 있습니다.

module.exports = {
  extends: [
    "@koreacreditdata/eslint-config/react",
    "@koreacreditdata/eslint-config/typescript",
    "@koreacreditdata/eslint-config/bestpractice",
    "@koreacreditdata/eslint-config/import",
    "@koreacreditdata/eslint-config/prettier",
  ],
};

2. without Prettier

prettier를 사용하고 싶지 않다면,

module.exports = {
  extends: [
    "@koreacreditdata/eslint-config/react",
    "@koreacreditdata/eslint-config/typescript",
    "@koreacreditdata/eslint-config/bestpractice",
    "@koreacreditdata/eslint-config/import",
  ],
};

와 같이 사용합니다.