eslint-formatter-bitbucket
v1.0.0
Published
ESLint formatter that uploads results as Bitbucket report
Downloads
647
Readme
eslint-formatter-bitbucket
An ESLint formatter that uploads results as a report to Bitbucket.
Bitbucket Reports are useful especially in the context of pullrequests, because any linting errors will appear as annotations in the code diffs.
This package was originally forked from a7madgamal's fork of eslint-formatter-bitbucket-reports.
Usage
Assuming you have already installed and configured ESLint in your project you only have to install the formatter and use it in your Bitbucket Pipeline.
npm install --save-dev eslint-formatter-bitbucket
Add a linting step bitbucket-pipelines.yml
:
pipelines:
pull-requests:
'**':
- step:
name: PR linting
script:
- npx eslint -f bitbucket .
License
See LICENSE