Skip to content

owlsdepartment/eslint-plugin-owd-ch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-owd-ch

Custom eslint rules for Changing Health

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-owd-ch:

$ npm install eslint-plugin-owd-ch --save-dev

Usage

Add owd-ch to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "owd-ch"
    ]
}

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

{
    "rules": {
        "owd-ch/rule-name": 2
    }
}

Supported Rules

owd-ch/require-testid: Require data-testid with interactive elements