eslint-formatter-ratchet

JSON →
library 3.0.0 ·javascript
verified Jun 4, 2026

ESLint formatter that enforces a ratcheting threshold on total lint issues to prevent new violations from creeping in. Current stable version: 3.0.0. It generates a baseline file (eslint-ratchet.json) from the initial lint run, then fails future runs if the total issue count exceeds that baseline, and updates the baseline when the count improves. Provides styled output and supports bypassing normal ESLint erroring via environment variable. Unlike other formatters, it focuses on total issue count rather than specific rules, making it useful for incremental codebase improvements. Requires Node >=22 and ESM.