eslint-config-callstack-io

ESLint preset extending Airbnb, Flow, Prettier and Jest

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
eslint-config-callstack-io
1.1.24 years ago5 years agoMinified + gzip package size for eslint-config-callstack-io in KB

Readme

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"
}