@koober/eslint-config

5.12.0 • Public • Published

Koober ESLint configuration (@koober/eslint-config)

NPM Version License

ESLint configuration presets

Installation

npm install --save-dev @koober/eslint-config

Usage

Default JS/TS project

For most kind of project, just edit eslintrc.json and add default configuration

{
  "extends": [
    "@koober/eslint-config"
  ]
}

Features :

  • ES and TS validation
  • Prettier formatting
  • JSX and React syntax validation
  • Jest tests

Custom project

For most kind of project, just edit eslintrc.json and cherry pick only configurations

{
  "root": true,
  "extends": [
    "@koober/eslint-config/es",
    "@koober/eslint-config/functional",
    "@koober/eslint-config/jest",
    "@koober/eslint-config/json",
    "@koober/eslint-config/react",
    "@koober/eslint-config/ts",
    // include more configurations here
  ]
  //...
}

Available configurations :

  • @koober/eslint-config/es: for ECMA Script (ES) files
  • @koober/eslint-config/jest: for jest environment tests
  • @koober/eslint-config/functional: for pure functional programming
  • @koober/eslint-config/react: for react capability
  • @koober/eslint-config/ts: for typescript files

License

MIT © Julien Polo julien.polo@koober.com

Readme

Keywords

Package Sidebar

Install

npm i @koober/eslint-config

Weekly Downloads

168

Version

5.12.0

License

MIT

Unpacked Size

43.9 kB

Total Files

22

Last publish

Collaborators

  • jpolo
  • alexandrech
  • avatar-koober
  • alexwf.koober
  • jarvis_koober