eslint-config-bmcallis

3.0.0 • Public • Published

eslint-config-bmcallis

ESLint rule configuration for projects that I work on. http://eslint.org/docs/rules/

Plugins Used:

Usage

Install the configs by running:

npm install --save-dev eslint eslint-config-bmcallis

Note that the plugins and parser used are dependencies of this project and will also be installed to your project, so you don't need to specify them individually.

Then add the extends to your .eslintrc.js:

module.exports = {
  extends: ['bmcallis'],
  rules: {
      // your overrides
  }
}

Smaller Bits

By extending bmcallis you're getting all of the configs for eslint, import, babel and react. If you only want some of those you can extend them individually.

module.exports = {
  extends: [
   'bmcallis/core', // all of the config options built into eslint
   'bmcallis/import',
   'bmcallis/babel',
   'bmcallis/react',
  ],
  rules: {
    // overrides
  }
}

A shoutout to @kentcdodds, a lot of this repo was based off of the work that he did with eslint-config-kentcdodds

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-bmcallis

Weekly Downloads

0

Version

3.0.0

License

MIT

Unpacked Size

20.1 kB

Total Files

9

Last publish

Collaborators

  • bmcallis