Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
256
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

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


Version published
Maintainers
1
Created

Readme

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

Last updated on 12 Jun 2024

Did you know?

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc