Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 619 Bytes

README.md

File metadata and controls

42 lines (30 loc) · 619 Bytes

An opinionated list of ESLint rules used at Delaware Consulting.

Installation

npm install --save-dev eslint eslint-plugin-import eslint-config-dlw

Then add the extends to your .eslintrc:

{
  "extends": "dlw",
  "rules": {
    // your overrides
  }
}

React configuration

For supporting React projects, also add the dlw/rules/react extension:

{
  "extends": [
    "dlw",
    "dlw/rules/react"
  ]
}

Then install eslint-plugin-react:

npm install --save-dev eslint-plugin-react

LICENSE

MIT