eslint-config-rainbow

4.4.0 • Public • Published

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.

/eslint-config-rainbow/

    Package Sidebar

    Install

    npm i eslint-config-rainbow

    Weekly Downloads

    107

    Version

    4.4.0

    License

    MIT

    Unpacked Size

    7.46 kB

    Total Files

    4

    Last publish

    Collaborators

    • kosmoskey
    • danielsinclair
    • brunobar79
    • nickbytes
    • estebanmino
    • jinchung
    • rainbow-infra
    • bret