eslint-config-4front

1.3.2 • Public • Published

Shareable eslint config for 4front. Extends eslint-config-airbnb with a small number of customizations.

Usage

There are 3 different configs provided: legacy, react, and es6.

eslint-config-4front/es5

npm install --save-dev eslint-config-4front eslint

Put the following in your .eslintrc:

{
  "extends": "4front/es5"
}

eslint-config-4front/es6

npm install --save-dev eslint-config-4front babel-eslint eslint

Put the following in your .eslintrc:

{
  "extends": "4front/es6"
}

eslint-config-4front/react

Assumes React apps are written in ES6 and transpiled with Babel.

npm install --save-dev eslint-config-4front babel-eslint eslint-plugin-react eslint

Put the following in your .eslintrc:

{
  "extends": "4front/react"
}

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-4front

Weekly Downloads

197

Version

1.3.2

License

MIT

Last publish

Collaborators

  • dvonlehman