Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-airbnb-improved

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-airbnb-improved

Eslint configuration based on Airbnb with some improvements

  • 4.0.13
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 27 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc