1.1.2 • Published 6 years ago

eslint-config-callstack-io v1.1.2

Weekly downloads
116
License
MIT
Repository
github
Last release
6 years ago

eslint-config-callstack-io

Callstack eslint config utilizing Airbnb config, Flow, Prettier and Jest support.

Plugins and configs used:

Additionally, it sets these environments:

{
  "env": {
    "browser": true,
    "es6": true,
    "node": true
  }
}

And for test files matching default Jest testMatch:

{
  "env": {
    "jest/globals": true
  }
}

Installation

yarn add --dev eslint eslint-config-callstack-io

Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like

Usage

Add to your eslint config (.eslintrc, or eslintConfig field in package.json):

{
    "extends": "callstack-io"
}