eslint-plugin-webdriverio

ESLint plugin with environment settings for WebdriverIO

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
eslint-plugin-webdriverio
1.0.17 years ago7 years agoMinified + gzip package size for eslint-plugin-webdriverio in KB

Readme

eslint-plugin-webdriverio 🤖
The browser and $/$$ helpers are globally available in WebdriverIO. This ESLint plugin makes it easy to configure your WDIO project.

Usage

There are several ways to configure environments in ESLint. For example in combination with Mocha:

Individual Source File

```js / eslint-env webdriverio/wdio, mocha / ```

ESLint

.eslintrc: ```js { "plugins": "webdriverio", "env": {
"webdriverio/wdio": true,
"mocha": true
} } ```

StandardJS

package.json: ```json { "standard": {
"plugins": [
"webdriverio"
],
"env": [
"mocha",
"webdriverio/wdio"
]
} } ```