2.2.1 • Published 2 years ago

eslint-config-liebe v2.2.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

ESlint config liebe npm version License

A config by the 'team liebe' or 'team love' :heartpulse: in english that lets you love your code by lending you a hand with powerful lints.

Whats included?

the configuration is splitted into logical components so that you only have to include the things you need.

liebe/base

  • eslint-config-airbnb-base
  • eslint-config-airbnb-typescript
  • eslint-import-resolver-typescript
  • eslint-plugin-eslint-comments
  • eslint-plugin-import
  • eslint-plugin-simple-import-sort
  • eslint-plugin-unicorn
  • eslint-plugin-promise
  • eslint-plugin-json
  • eslint-plugin-editorconfig

liebe/testing

  • eslint-plugin-jest

liebe/all

  • Includes all the mentioned above

Installation

In order to work around a known limitation in ESLint, we recommend you to use this package alongside @rushstack/eslint-patch, so that you don't have to install too many dependencies:

npm i -D eslint-config-liebe@latest @rushstack/eslint-patch

or

yarn add -D eslint-config-liebe@latest @rushstack/eslint-patch

Usage

Include the configs you need in your .eslintrc:

require("@rushstack/eslint-patch/modern-module-resolution")

module.exports = {
  extends: [
    'liebe/base',
    'liebe/testing',
  ]
}

or just

require("@rushstack/eslint-patch/modern-module-resolution")

module.exports = {
  extends: [
    'liebe/all',
  ]
}

Changelog

Please look at CHANGELOG or Releases for information on what has changed recently.

License

The ISC License (ISC). Please see LICENSE for more information.