eslint-config-4front
v1.3.2
Published
4front eslint config extending eslint-config-airbnb
Downloads
91
Readme
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"
}