@rainforestqa/eslint-plugin

1.0.0 • Public • Published

eslint-plugin-eslint-plugin

Custom rules built for Rainforest QA

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install @rainforestqa/eslint-plugin:

npm install @rainforestqa/eslint-plugin --save-dev

Usage

Add @rainforestqa/eslint-plugin to the plugins section of your .eslintrc configuration file:

{
  "plugins": ["@rainforestqa/eslint-plugin"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "eslint-plugin/rule-name": 2
  }
}

Supported Rules

  • no-dangerous-conditional-literals-in-jsx: Certain use of conditional rendering can be broken by browser auto translate / similar dom modifying extensions.

Package Sidebar

Install

npm i @rainforestqa/eslint-plugin

Weekly Downloads

2,086

Version

1.0.0

License

ISC

Unpacked Size

20.1 kB

Total Files

8

Last publish

Collaborators

  • maciejgryka
  • jiri_rf
  • prayogoa
  • rainforestapp
  • ajfunk