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

@ridi/eslint-config

Package Overview
Dependencies
Maintainers
13
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

  • 6.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
629
decreased by-6.4%
Maintainers
13
Weekly downloads
 
Created
Source

@ridi/eslint-config

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

Installation

Install @ridi/eslint-config package:

  1. Install the correct versions of each package, which are listed by the command:
npm info "@ridi/eslint-config" peerDependencies

if using npm 5+, use this shortcut

npx install-peerdeps --dev @ridi/eslint-config

if using yarn, use this command

yarn add --peer --dev @ridi/eslint-config
  1. Install via package manager:
npm install --save-dev @ridi/eslint-config

or

yarn --dev @ridi/eslint-config

Usage

Javascript

module.exports = {
  extends: [
    '@ridi/eslint-config'
  ]
}

@ridi/eslint-config/typescript

  • @typescript-eslint/eslint-plugin
  • typescript
Typescript
module.exports = {
  extends: [
    '@ridi/eslint-config',
    '@ridi/eslint-config/typescript'
  ]
}

@ridi/eslint-config/react

  • eslint-plugin-import
  • eslint-plugin-jsx-a11y
  • eslint-plugin-react
  • eslint-plugin-react-hooks
Javascript + React
{
  "extends": [
    '@ridi/eslint-config',
    '@ridi/eslint-config/react',
  ],
}
Typescript + React
module.exports = {
  extends: [
    '@ridi/eslint-config',
    '@ridi/eslint-config/typescript',
    '@ridi/eslint-config/react'
  ]
}

@ridi/eslint-config/prettier

  • eslint-plugin-prettier
Prettier

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

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

Keywords

FAQs

Package last updated on 12 Oct 2023

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