eslint-formatter-bitbucket

1.0.0 • Public • Published

eslint-formatter-bitbucket

An ESLint formatter that uploads results as a report to Bitbucket.

npm version Issues

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

/eslint-formatter-bitbucket/

    Package Sidebar

    Install

    npm i eslint-formatter-bitbucket

    Weekly Downloads

    18

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    9.64 kB

    Total Files

    4

    Last publish

    Collaborators

    • sleavely