Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-plugin-testcafe

miherlosev267kMIT0.2.1

Eslint rules for testcafe

eslint, eslintplugin, eslint-plugin, testcafe

readme

eslint-plugin-testcafe

ESLint rules for testcafe

Installation

You'll first need to install ESLint:

$ 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.

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"
}

See ESLint documentation for more information about extending configuration files.