Socket
Socket
Sign inDemoInstall

eslint-config-rainbow

Package Overview
Dependencies
487
Maintainers
9
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-rainbow

[![npm version](https://img.shields.io/npm/v/eslint-config-rainbow.svg)](https://npmjs.org/package/eslint-config-rainbow) [![tests](https://github.com/rainbow-me/eslint-config-rainbow/actions/workflows/cd.yml/badge.svg)](https://github.com/rainbow-me/esli


Version published
Weekly downloads
147
decreased by-19.67%
Maintainers
9
Created
Weekly downloads
 

Readme

Source

eslint-config-rainbow

npm version tests

A shareable ESLint config for Rainbow projects.

Usage

Install this package and its peer dependencies:

yarn add eslint-config-rainbow eslint jest react -D

Then extend your .eslintrc.js config:

module.exports = {
  extends: "rainbow"
}

Add a step to your package.json to lint your project:

{
  "scripts": {
    "lint": "eslint --ext '.ts,.tsx,.js,.jsx' ."
  }
}

Contributing

This repo utilizes GitHub Actions and semantic-release to automatically test and publish this package to npm. Versioning is based on the commit messages, which must follow the Conventional Commits standard i.e. feat: <msg> for minor releases, fix: <msg> for patch.

When creating a PR, ensure that your commits follow these patterns. Upon merging into main, your PR will be rolled up into a single release and published to npm. Your release and changelog notes will then appear on the releases page.

FAQs

Last updated on 28 Aug 2023

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc