🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@ridi/eslint-config

Package Overview
Dependencies
Maintainers
8
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ridi/eslint-config

RIDI's ESLint configs for Javascript

5.0.0
Source
npm
Version published
Weekly downloads
1.1K
41.38%
Maintainers
8
Weekly downloads
 
Created
Source

eslint-config

A rule set of RIDI's ESLint configurations based on Airbnb's.

Installation

Install @ridi/eslint-config package:

npm install --save-dev eslint @ridi/eslint-config

Usage

Default (airbnb based, outdated)

{
  "extends": "@ridi",
  "rules": {
    // exceptions
  }
}

Typescript

{
  "extends": [
    "@ridi/eslint-config/typescript",
  ],
}
  • @typescript-eslint/eslint-plugin

React

{
  "extends": [
    "@ridi/eslint-config/react",
  ],
}
  • eslint-plugin-import
  • eslint-plugin-jsx-a11y
  • eslint-plugin-react
  • eslint-plugin-react-hooks

Prettier

works fine with local configuration file (e.g. .prettierrc)

{
  "extends": [
    "@ridi/eslint-config/prettier",
  ],
}
  • eslint-plugin-prettier

Keywords

eslint

FAQs

Package last updated on 12 Sep 2020

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