eslint-config-kajoo

2.1.0 • Public • Published

eslint-config-kajoo

Greenkeeper badge Build Status

Kajoo eslint config utilizing Flow, Prettier and Jest support.

Plugins and configs used:

Additionally, it sets these environments:

{
  "env": {
    "browser": true,
    "es6": true,
    "node": true,
    "react-native/react-native": true,
  }
}

Installation

yarn add --dev eslint eslint-config-kajoo

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):

  • kajoo/vanilla: Plain JS
  • kajoo/react: Plain JS + React
  • kajoo/react-native: Plain JS + React + React Native
  • kajoo: Plain JS + React + React Native
{
    "extends": "kajoo"
}

Example of extending the configuration

{
    "extends": "kajoo",
    "rules": {
        "global-require": 0,
        "prefer-destructuring": 0
    }
}

Package Sidebar

Install

npm i eslint-config-kajoo

Weekly Downloads

2

Version

2.1.0

License

MIT

Unpacked Size

10.4 kB

Total Files

8

Last publish

Collaborators

  • rghorbani