@yepreally/eslint-config

6.0.0 • Public • Published

@yepreally/eslint-config

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 @yepreally/eslint-config

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: ['@yepreally/eslint-config'],
  rules: {
    // your overrides
  }
}

Smaller Bits

By extending @yepreally/eslint-config you're getting all of the configs for eslint, import, jest, react, and typescript. If you only want some of these you can extend them individually.

module.exports = {
  extends: [
   '@yepreally/eslint-config/core',
   '@yepreally/eslint-config/import',
   '@yepreally/eslint-config/jest',
   '@yepreally/eslint-config/react',
   '@yepreally/eslint-config/typescript',
  ],
  rules: {
    // overrides
  }
}

Readme

Keywords

Package Sidebar

Install

npm i @yepreally/eslint-config

Weekly Downloads

1

Version

6.0.0

License

MIT

Unpacked Size

32 kB

Total Files

13

Last publish

Collaborators

  • jedfong