eslint-config-mad-it

An ESLint config used by Mad-IT

Usage no npm install needed!

<script type="module">
  import eslintConfigMadIt from 'https://cdn.skypack.dev/eslint-config-mad-it';
</script>

README

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