Registry / devops / eslint-formatter-multiple-async

eslint-formatter-multiple-async

JSON →
library2.0.0jsnpmunverified

A meta-formatter for ESLint that runs multiple output formatters (e.g., stylish to console and checkstyle to file) in a single pass. Version 2.0.0 uses an async API and is ESM-only. Provides a configuration-driven approach via package.json or config file, allowing flexible output paths and console logging. Unlike alternatives that only write to disk, this supports console output and custom formatter names.

devops
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ESM-only export; CommonJS require will fail.

import formatter from '@magarcia/eslint-formatter-multiple'

Configure eslint-formatter-multiple to output stylish to console and checkstyle to a file.

// .eslintrc.js module.exports = { plugins: ['@magarcia/eslint-formatter-multiple'], formatter: 'multiple', }; // package.json { "eslint-formatter-multiple": { "formatters": [ { "name": "stylish", "output": "console" }, { "name": "checkstyle", "output": "file", "path": "eslint-checkstyle.xml" } ] } }
Debug
Known footguns
breakingVersion 2.x requires ESM; CommonJS require() will throw an error.
gotchaThe package is published under @magarcia scope, not the GitHub repo name 'halkeye/eslint-formatter-multiple'.
deprecatedConfiguration via package.json 'eslint-formatter-multiple' key is deprecated in favor of a config file.
gotchaIf no output path is specified for file formatters, the formatter will silently fail to write.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
9 hits · last 30 days
bingbot
4
gptbot
3
ahrefsbot
2
Resources