# eslint-community/eslint-plugin-promise

Enforce best practices for JavaScript promises

Repository: https://github.com/eslint-community/eslint-plugin-promise
Canonical: https://ross.abutalabs.com/products/eslint-plugin-promise
Language: JavaScript
License: ISC
License Family: permissive
Topics: eslint, eslint-plugin
Last push: 2026-09-02T23:39:01+00:00

## Health v2 (maintenance only)
Score: 82/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 49, longevity 100
- inputs: {"age_days": 3880, "days_push": 0, "days_rel": 128, "gap_med": 258.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1003, forks 103 (observed 2026-09-03T02:15:11.728075+00:00)

## What it is
An ESLint plugin that enforces best practices for JavaScript promises through a set of linting rules. It is maintained under the eslint-community organization and ships with recommended and flat config presets.

## Use cases
- lint promise usage in JavaScript code
- catch unhandled promise rejections
- enforce always returning values inside then handlers
- prevent nesting promises and callbacks
- detect invalid promise constructor parameters
- add promise best-practice rules to a shared ESLint config

## When to choose
- your codebase uses promises heavily and you want consistent patterns
- you want automated detection of common promise anti-patterns like missing catch or multiple resolves
- you already use ESLint and want a drop-in plugin with recommended presets

## When to avoid
- your project does not use ESLint
- you primarily write async/await code with strict conventions already enforced
- you need TypeScript-specific type checking rather than linting

## Facets
- artifact type: plugin
- maturity: active
- function: linter, developer-tools
- domain: developer-tools, web-development
- platform: cli
- tags: eslint-plugin, promises, code-quality, static-analysis, linting-rules, javascript, nodejs

## Member repositories
- eslint-community/eslint-plugin-promise (main) score 82

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:11.728075+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:16:06.301931+00:00, confidence not recorded.
  - readme: https://github.com/eslint-community/eslint-plugin-promise (fetched 2026-09-03T02:15:11.728075+00:00, sha 850a05703d1b)
  - registry_npm: https://registry.npmjs.org/eslint-plugin-promise (fetched 2026-08-29T13:14:17.715850+00:00, sha 342ff3ba45f0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
