Eslint rules for WebdriverIO

Usage no npm install needed!

<script type="module">
  import eslintPluginWdio from '';



ESLint rules for WebdriverIO


You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-wdio:

$ npm install eslint-plugin-wdio --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-wdio 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": [
  "extends": "plugin:wdio/recommended"

See ESLint documentation for more information about extending configuration files.