6.0.0 • Published 2 years ago

@yepreally/eslint-config v6.0.0

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

@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
  }
}