Miss any of our Open RFC calls?Watch the recordings here! »

eslint-config-airbnb-improved

4.0.14 • Public • Published

eslint-config-airbnb-improved

MIT License node:? Build Status

NPM status

Eslint plugin based on Airbnb

install

npm install --save-dev eslint-config-airbnb-improved

usage

in .eslinrc:

{
  "extends": "eslint-config-airbnb-improved"
}

Of course, you can overwrite any rules to satisfy your needs.

in package.json:

{
  "scripts": {
    "lint": "eslint *.js app src",
  }
}

run npm run lint

Major differences with standard Airbnb:

  • Required sorting of imports and keys in object
  • Required empty line before return
  • Allowing ++ operator
  • Allowing not using this keyword in object methods.

Why this plugin?

  • Because some of Airbnb rules make coding harder with no good reason.
  • Because Airbnb does not specify many coding rules.

Keywords

Install

npm i eslint-config-airbnb-improved

DownloadsWeekly Downloads

330

Version

4.0.14

License

MIT

Unpacked Size

3.91 kB

Total Files

7

Last publish

Collaborators

  • avatar