eslint-formatter-github-annotations

0.1.0 • Public • Published

eslint-formatter-github-annotations

An ESLint formatter to report as GitHub Checks annotations

Usage

  1. Add eslint-formatter-github-annotations to your dependencies:

    npm install --save-dev eslint-formatter-github-annotations
  2. Create a GitHub action workflow with this formatter:

    name: lint
    on:
      pull_request:
    jobs:
      eslint:
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v2
          - run: npm install
          - run: npx eslint -f github-annotations .

Testing

npm run test

Contributing

Contributions are welcome. Please check out the Contributing guide for the guidelines you need to follow.

Please read our Code of Conduct so that you can understand the kind of respectful behavior we expect of all participants.

License

Open Source Project is released under the MIT license. See LICENSE for the full license text.

Package Sidebar

Install

npm i eslint-formatter-github-annotations

Weekly Downloads

330

Version

0.1.0

License

MIT

Unpacked Size

4.81 kB

Total Files

4

Last publish

Collaborators

  • ableco-npm