eslint-config-bmcallis
v3.0.0
Published
ESLint rules
Downloads
2
Readme
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