npm.io
1.0.0 • Published 4 years ago

@makeheadway/eslint-config

Licence
MIT
Version
1.0.0
Deps
4
Size
4 kB
Vulns
0
Weekly
0

@makeheadway/eslint-config

Custom Headway ESLint configuration. Based on Airbnb configuration with some changes. Includes Prettier erroring.

Installing

Using NPM

npm install --save-dev eslint @makeheadway/eslint-config;
Using Yarn
yarn add --dev eslint @makeheadway/eslint-config;

Setting config

By hands

Add the following in .eslintrc:

{
  "extends": [..., "@makeheadway/eslint-config"],
  ...
}

Or use the following command, if you does not have ESLint yet:

By command
echo "{ \"extends\": [\"@makeheadway/eslint-config\"] }" > .eslintrc;

Keywords