5.0.0 • Published 3 years ago

eslint-config-jedfong v5.0.0

Weekly downloads
2
License
MIT
Repository
gitlab
Last release
3 years ago

eslint-config-jedfong

ESLint rule configuration based on work from eslint-plugin-bmcallis.

http://eslint.org/docs/rules/

Plugins Used:

Usage

Install the configs by running:

npm install --save-dev eslint eslint-config-jedfong

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: ['jedfong'],
  rules: {
    // your overrides
  }
}

Smaller Bits

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

module.exports = {
  extends: [
   'jedfong/core',
   'jedfong/babel',
   'jedfong/import',
   'jedfong/jest',
   'jedfong/react',
  ],
  rules: {
    // overrides
  }
}