eslint-plugin-wdio weekly downloads statistics
By webdriverio · npm · ESLint plugins
Eslint rules for WebdriverIO
eslint-plugin-wdio has 226,167 recorded weekly downloads on npm, an increase of 11.3% over the past 30 days, ranking #508 of 3,247 tracked listings.
About eslint-plugin-wdio
eslint-plugin-wdio
ESLint rules for WebdriverIO
Installation
You'll first need to install ESLint 10:
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 exports a flat config that enforces good practices. Add it to eslint.config.mjs:
import { configs as wdioConfig } from "eslint-plugin-wdio";
export default [
wdioConfig['flat/recommended'],
];
The eslintrc export plugin:wdio/recommended is gone. Flat config is the supported setup.
See ESLint documentation for more information about extending configuration files.
TypeScript Support
When typescript-eslint is installed, the recommended configuration automatically replaces wdio/await-expect with wdio/no-floating-promise for stricter, type-aware promise handling.
To enable this, install the required dependencies:
npm install --save-dev typescript typescript-eslint
By default, ESLint lints only .js, .mjs and .cjs files. Add a files pattern so that it also lints your TypeScript specs:
import { configs as wdioConfig } from "eslint-plugin-wdio";
export default [
{ files: ['**/*.{ts,mts,cts,tsx}'], ...wdioConfig['flat/recommended'] },
];
wdio/no-floating-promise needs type information, so your spec files must be part of a tsconfig.json.
To also lint JavaScript files, such as wdio.conf.js, add them to the TypeScript project ("allowJs": true and the files in include), then widen the pattern:
export default [
{ files: ['**/*.{js,mjs,cjs,ts,mts,cts,tsx}'], ...wdioConfig['flat/recommended'] },
];
If a matched file is not part of the TypeScript project, ESLint reports "was not found by the project service".
List of supported rules
expect calls must be prefixed with an await
Don't allow browser.debug() statements
Don't allow browser.pause(<number>) statements
Check for unhandled promises
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
- webdriver
- wdio
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm ESLint plugins plugins
All 20 eslint-plugin-wdio alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-wdio. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.