3.0.0 • Published 4 years ago
eslint-plugin-relax-cypress v3.0.0
eslint-plugin-relax-cypress
Cypress plugin using custom rules for Relax Banking project
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-relax-cypress
:
$ npm install eslint-plugin-relax-cypress --save-dev
Usage
Add relax-cypress
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"relax-cypress"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"relax-cypress/prefer-search": "warn",
"relax-cypress/prefer-insert": "warn",
"relax-cypress/prefer-confirm": "warn"
}
}
Supported Rules
- Fill in provided rules here