New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@redhat-cloud-services/eslint-config-redhat-cloud-services

Package Overview
Dependencies
Maintainers
6
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@redhat-cloud-services/eslint-config-redhat-cloud-services

Recommended eslint configuration used in cloud.redhat.com frontend apps.

  • 1.2.5
  • npm
  • Socket score

Version published
Weekly downloads
1.1K
decreased by-43.26%
Maintainers
6
Weekly downloads
 
Created
Source

Installation

NPM

$ npm i --save-dev @redhat-cloud-services/eslint-config-redhat-cloud-services

YARN

$ yarn add -D @redhat-cloud-services/eslint-config-redhat-cloud-services

Configuration

Eslint

In your eslint configuration extends this eslint config

{
    "extends": "@redhat-cloud-services/eslint-config-redhat-cloud-services"
}

You can also extend multiple configurations and customize your rules

{
  "extends": ["@redhat-cloud-services/eslint-config-redhat-cloud-services", "other-config", ...],
  "rules": {
    "no-console": "warn"
  }
}

Prettier

If you are not using prettier, firtst add prettier.config.js.

Add this content to your prettier configuration file:

module.exports = {
  ...require('@redhat-cloud-services/eslint-config-redhat-cloud-services/prettier.config.js'),
  // For more configuration options visit: https://prettier.io/
};

Used packages

  • eslint-config-prettier
  • eslint-plugin-prettier
  • eslint-plugin-react
  • prettier

Keywords

FAQs

Package last updated on 12 Oct 2022

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