1.1.1 • Published 6 years ago

eslint-config-mad-it v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

eslint-config-mad-it

An opinionated list of ESLint rules used by Mad-IT

Installation

npm install --save-dev eslint eslint-plugin-import eslint-config-mad-it

Then add the extends to your .eslintrc:

{
  "extends": "mad-it",
  "rules": {
    // your overrides
  }
}

React configuration

For supporting React projects, also add the mad-it/rules/react extension:

{
  "extends": [
    "mad-it",
    "mad-it/rules/react"
  ]
}

Then install eslint-plugin-react:

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

LICENSE

MIT