epavletic / eslint-config-eap

🛠 Portable ESLint configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-config-eap

Because ESLint configs are nicer when they’re shareable.

Installation

$ npm i -D @eap/eslint-config-eap

Usage

Add the configuration to your package.json:

For plain js modules:

{
  "eslintConfig": {
    "extends": "@eap"
  }
}

For React modules:

{
  "eslintConfig": {
    "extends": "@eap/react"
  }
}

…or, if you’re that sort of person, add the corresponding configuration extension to your .eslintrc.

About

🛠 Portable ESLint configuration


Languages

Language:JavaScript 100.0%