ESLint plugin providing Haraka-specific rules and recommended configuration for Haraka projects. Current stable version is 2.0.4 (as of 2025), with a major breaking change in v2.0.0 that depends on ESLint 9. The plugin enforces best practices for Haraka plugin development, including environment globals, ECMAScript version (es2024), and custom rules like no-unused-vars. It is actively maintained with frequent releases, typically following Haraka core updates. Key differentiators: tailored for Haraka's plugin architecture, includes a 'recommended' config, and integrates with flat config in ESLint 9.
Verified import paths — ran on the pinned version, not inferred.
Must include 'plugin:' prefix in ESLint config files.
ESM-only; no CommonJS support in v2. Use dynamic import() if needed.
For flat config (ESLint 9+), access configs via 'configs.recommended'.
Installs the plugin, sets up .eslintrc.yaml with Haraka recommended config, and provides npm scripts for linting and auto-fix.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.