Skip to content

rainforestapp/eslint-plugin-rainforest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Custom rules built for Rainforest QA

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published