Skip to content

A shareable eslint config for my JavaScript projects

License

Notifications You must be signed in to change notification settings

simonkberg/eslint-config

Repository files navigation

@simonkberg/eslint-config

Travis npm package

A shareable eslint config for my JavaScript projects.

Install:

yarn add --dev @simonkberg/eslint-config

Base config

Extends:

Usage:

{
  "eslintConfig": {
    "extends": "@simonkberg/eslint-config"
  }
}

Flow type config

Extends:

Usage:

{
  "eslintConfig": {
    "extends": [
      "@simonkberg/eslint-config",
      "@simonkberg/eslint-config/flowtype"
    ]
  }
}

React config

Extends:

Usage:

{
  "eslintConfig": {
    "extends": ["@simonkberg/eslint-config", "@simonkberg/eslint-config/react"]
  }
}

TypeScript config

Extends:

Usage:

{
  "eslintConfig": {
    "extends": [
      "@simonkberg/eslint-config",
      "@simonkberg/eslint-config/typescript"
    ]
  }
}