Socket
Book a DemoInstallSign in
Socket

eslint-config-airbnb-relaxed

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-airbnb-relaxed

#### Get started

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

eslint-config-airbnb-relaxed

Get started

Install the package.

# With yarn
yarn add --dev eslint-config-airbnb-relaxed

# With npm
npm i --save-dev eslint-config-airbnb-relaxed

Add "extends": "airbnb-relaxed" to your .eslintrc.

Rules

Make eslint-config-airbnb less strict.

  • no-param-reassign - For express / koa.
  • no-plusplus - i += 1 is annoying in loops.
  • no-underscore-dangle - For mongodb.
  • no-use-before-define - Allow functions declarations at the bottom of the file.
  • react/forbid-prop-types - Allow object and array.
  • react/jsx-filename-extension - Allow .js and .jsx extension.
  • react/jsx-no-bind
  • react/no-array-index-key

FAQs

Package last updated on 01 Jun 2017

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