eslint-plugin-no-await-in-promise weekly downloads statistics
By hugo-vrijswijk · npm · ESLint plugins
ESLint Plugin to error when using await inside promise statements
eslint-plugin-no-await-in-promise has 4,969 recorded weekly downloads on npm, a decrease of 78.1% over the past 30 days.
About eslint-plugin-no-await-in-promise
eslint-plugin-no-await-in-promise
ESLint Plugin to error when using await inside promise statements. Using await inside a Promise.all or Promise.race will make the awaited Promise resolve first, and only after that the Promise.all or Promise.race will be called. For .all, this means the promises are run serially, for .race, the awaited promise will now always win. This is rarely what you want. This plugin will warn you against such usages and suggest an auto-fix.
Rule Details
Examples of incorrect code for this rule:
await Promise.all([await foo(), bar()]);
await Promise.race([foo(), await bar()]);
Examples of correct code for this rule:
await Promise.all([foo(), bar()]);
await Promise.race([foo(), bar()]);
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
# Or
yarn add -D eslint
# Or
pnpm add -D eslint
Next, install eslint-plugin-no-await-in-promise:
npm install eslint-plugin-no-await-in-promise --save-dev
# Or
yarn add -D eslint-plugin-no-await-in-promise
# Or
pnpm add -D eslint-plugin-no-await-in-promise
Usage (flat config)
Configure the plugin in your eslint.config.js:
import noAwaitInPromise from 'eslint-plugin-no-await-in-promise';
export default [
noAwaitInPromise.configs.recommended,
// Other plugins here
];
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
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 (122)Similar npm ESLint plugins plugins
All 20 eslint-plugin-no-await-in-promise 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-no-await-in-promise. First seen Oct 16, 2026; last successful collection Oct 23, 2026. See the methodology.