4.0.2 • Published 5 years ago

eslint-config-cheesecakelabs v4.0.2

Weekly downloads
245
License
MIT
Repository
github
Last release
5 years ago

eslint-config-cheesecakelabs

This package provides CheesecakeLab's .eslintrc extensible shared config.

Install

with yarn:

$ yarn add --dev eslint-config-cheesecakelabs

or with npm:

$ npm install --save-dev eslint-config-cheesecakelabs

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. Instead of using a file path for the value of extends, use your module name.

For example:

{
    "extends": "eslint-config-cheesecakelabs"
}

You can also omit the `eslint-config- and it will be automatically assumed by ESLint:

{
    "extends": "cheesecakelabs"
}

React

IMPORTANT: To use the react config, you need to add it explicitly.

{
  "extends": "cheesecakelabs/react"
}

More Info