0.48.0 • Published 6 years ago

eslint-config-supermind v0.48.0

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

Supermind ESLint Config

Install yarn globally:

npm install yarn --global

Add eslint and eslint-config-supermind as a devDependency to your project:

yarn add eslint eslint-config-supermind --dev

Create an .eslintrc.js file at the root of your project and add the following configuration:

module.exports = {
  root: true, // Prevent ESLint from inheriting configuration above this file
  extends: [
    'supermind',          // Extend base config
    'supermind/react',    // Extend react config (optional)
    'supermind/inferno',  // Extend inferno config (optional)
    'supermind/jsx-a11y', // Extend jsx-a11y config (optional)
    'supermind/flowtype'  // Extend flowtype config (optional)
  ]
}

Add a lint script in your project package.json file:

{
  "name": "kitten-socks",
  "scripts": {
    "lint": "eslint source"
  }
}

To lint the source directory of your project run:

yarn run lint

Development

To ensure that all available rules are specified throughout the config files run:

yarn run list-omitted-rules
0.48.0

6 years ago

0.47.0

7 years ago

0.46.0

7 years ago

0.45.0

7 years ago

0.44.0

7 years ago

0.43.0

7 years ago

0.42.0

7 years ago

0.41.0

7 years ago

0.40.1

7 years ago

0.40.0

7 years ago

0.39.0

7 years ago

0.38.0

7 years ago

0.37.0

7 years ago

0.36.0

7 years ago

0.35.0

7 years ago

0.34.0

7 years ago

0.33.0

7 years ago

0.32.0

7 years ago

0.31.0

7 years ago

0.30.0

7 years ago

0.29.0

7 years ago

0.28.0

7 years ago

0.27.0

7 years ago

0.26.0

7 years ago

0.25.0

7 years ago

0.24.0

7 years ago

0.23.0

7 years ago

0.22.0

7 years ago

0.21.0

7 years ago

0.20.0

7 years ago

0.19.0

7 years ago

0.18.0

7 years ago

0.17.0

7 years ago

0.16.0

7 years ago

0.15.0

7 years ago

0.14.0

7 years ago

0.13.0

7 years ago

0.12.0

7 years ago

0.11.1

7 years ago

0.11.0

7 years ago

0.10.0

7 years ago

0.9.0

7 years ago

0.8.0

7 years ago

0.7.0

7 years ago

0.6.0

7 years ago

0.5.0

7 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago