@lunit/eslint-config

0.5.0 • Public • Published

ESLint config

Basic Usage

Install dependencies.

npm install eslint @lunit/eslint-config eslint-config-prettier --save-dev

Add this config into package.json if the project is a React application.

{
  "eslintConfig": {
    "extends": [
      "@lunit",
      "prettier",
      "prettier/react",
      "prettier/@typescript-eslint"
    ]
  }
}

Or add this config into package.json if the project is not a React application. (like a Node.js application)

{
  "eslintConfig": {
    "extends": [
      "@lunit/eslint-config/without-react",
      "prettier",
      "prettier/@typescript-eslint"
    ]
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @lunit/eslint-config

Weekly Downloads

8

Version

0.5.0

License

MIT

Unpacked Size

18.7 kB

Total Files

6

Last publish

Collaborators

  • takhyunkim
  • deminoth
  • jyseo