6.0.0 • Published 8 months ago
eslint-plugin-faltest v6.0.0
eslint-plugin-faltest
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-faltest
:
$ npm install eslint-plugin-faltest --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-faltest
globally.
Usage
Add faltest
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"faltest"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"faltest/rule-name": 2
}
}
Supported Rules
- Enforce using
eventually
when querying page objects or the browser (chai-webdriver-eventually) - Prevent accidental check-in of
roles.only
(mocha-roles-only) - Prevent accidental check-in of network throttling (no-browser-throttle)
- Enforce using the Chai methods provided by @faltest/chai (use-chai-methods)
6.0.0
8 months ago
5.0.4
11 months ago
5.0.2
11 months ago
5.0.0
11 months ago
4.0.2
2 years ago
4.0.1
2 years ago
4.0.0
2 years ago
3.0.2
2 years ago
3.0.1
3 years ago
3.0.0
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.7
4 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago