ESLint plugin that provides environment settings for WebdriverIO globals (browser, $, $$). Current stable version is 1.0.1. It is a small, focused plugin that adds a custom environment 'webdriverio/wdio' to ESLint, preventing no-undef errors when using WebdriverIO's globally available helpers. Unlike generic globals configuration, this plugin allows granular control by scoping to the 'wdio' environment, making it easy to combine with other environments like Mocha. Primarily used in WebdriverIO test projects.
npm install eslint-plugin-webdriverioNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to configure ESLint with the webdriverio environment to avoid no-undef errors for WebdriverIO globals.
Use 'webdriverio/wdio' in env or eslint-env comment.
Use 'webdriverio' in plugins array.
Ensure .eslintrc is valid JSON and 'env' is an object.
Add 'plugins: ["webdriverio"]' to your ESLint config.
No dependency data recorded yet.