3.0.0 • Published 5 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-devNext, install eslint-plugin-relax-cypress:
$ npm install eslint-plugin-relax-cypress --save-devUsage
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