ESLint plugin for FormatJS that enforces best practices for internationalized messages. Current stable version is 6.4.6, with regular releases tied to the FormatJS monorepo. It provides rules for validating ICU message syntax, enforcing message extraction patterns, preventing missing descriptions, and ensuring consistent translation keys. Differentiates from generic i18n ESLint plugins by deep integration with intl-messageformat and react-intl, supporting both flat and nested message structures, and offering auto-fix for many rules. Requires ESLint 9 or 10.
Verified import paths — ran on the pinned version, not inferred.
ESM-only since v6; CommonJS require will fail.
All rules are available as named exports for custom configurations.
Exposes 'recommended' and 'flat' configs for easy setup.
ESLint flat config setup with two FormatJS rules enabled.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.