eslint-config-airbnb-improved

5.0.3 • 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.

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-airbnb-improved

Weekly Downloads

23

Version

5.0.3

License

MIT

Unpacked Size

4.32 kB

Total Files

8

Last publish

Collaborators

  • oprogramador