Registry / devops / eslint-formatter-bitbucket

eslint-formatter-bitbucket

JSON →
library1.0.0jsnpmunverified

An ESLint formatter that uploads linting results as a report to Bitbucket, useful for pull request annotations. Current stable version is 1.0.0 (latest). This package is a fork of earlier implementations and provides a simple way to integrate ESLint results into Bitbucket Pipelines. It requires ESLint >= 7 as a peer dependency. No significant release cadence; it is a mature, low-maintenance utility.

npm install eslint-formatter-bitbucket
INSTALL
IMPORT
SIG · ESLINT-FORMATTER-B
E
eslint-formatter-bitbucket
devopsjavascriptv1.0.0
harness data pending
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.

formatter
eslint -f bitbucket .
npx eslint --format bitbucket .
The formatter is invoked via ESLint's --format flag (or -f). Use 'bitbucket' as the format name, not a file path.

Installs dependencies and runs ESLint with Bitbucket formatter to upload results.

npm install --save-dev eslint eslint-formatter-bitbucket npx eslint -f bitbucket .
Debug
Known issues
breakingRequires ESLint >= 7 and a Bitbucket API token with report write access
fix
Ensure you use ESLint 7+ and configure Bitbucket credentials (e.g., via BITBUCKET_TOKEN environment variable) before running the formatter.
affects: >=1.0.0
Errors
Common errors & fixes
Cannot find module 'eslint-formatter-bitbucket'
The package is not installed or not in node_modules
fix
Run `npm install --save-dev eslint-formatter-bitbucket`
ESLint configuration error: No such formatter 'bitbucket'
Using incorrect formatter name or the package isn't loaded correctly
fix
Use `eslint -f bitbucket .` (not a path). Ensure the package is installed.
Upgrade
Version history
1.0.0latest on npm
Audit
Dependencies
eslintrequiredpeer dependency required for formatting
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-formatter-bitbucket — npm install eslint-formatter-bitbucket · libregistry