1.0.5 • Published 3 years ago

@raidorev/eslint-config v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

My ESLint configurations

About

I don't use ESLint for formatting, Prettier does it fine on its own. So I use eslint-config-prettier to disable the rules related to formatting. I almost always use typescript in my projects. Also, I very often use VueJS, Lodash.

Installation

yarn add -D @raidorev/eslint-config
# or
npm install -D @raidorev/eslint-config

Usage

Extend your config file:

// .eslintrc.js
module.exports = {
  extends: ['@raidorev'],
}

Available additions

To use additions, you need to extend the base config with necessary addition:

// .eslintrc.js
module.exports = {
  extends: [
    '@raidorev/eslint-config/typescript',
    '@raidorev/eslint-config/vue',
    '@raidorev/eslint-config/lodash',
    '@raidorev',
  ],
}

I put the base config last in the list of extensions because eslint-config-prettier has to overwrite some rules.

Used plugins and configs