Eslint rules for testcafe
npm install eslint-plugin-testcafe
$ npm i eslint --save-dev
`
Next, install eslint-plugin-testcafe:
`
$ npm install eslint-plugin-testcafe --save-dev
`
Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-testcafe globally.
Recommended configuration
This plugin export a recommended configuration that enforce good practices.
To enable this configuration use the extends property in your .eslintrc config file:
`
{
"plugins": [
"testcafe"
],
"extends": "plugin:testcafe/recommended"
}
``