0.4.0 • Published 4 years ago

@neovici/github-actions-eslint-annotator v0.4.0

Weekly downloads
314
License
ISC
Repository
github
Last release
4 years ago

github-actions-eslint-annotator

ESLint checker and annotator for Github Actions. Uses eslint, eslint CLI to run in a Github Actions environment and create a new Check for ESLint. If errors are found, these are annotated in the "Files Changed" tab.

Usage

In your project:

npm install --save-dev @neovici/github-actions-eslint-annotator

In your Github Actions workflow:

    - name: ESLint
      run: npx github-actions-eslint-annotator
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        PARTIAL_LINTING: true # default: false, only works on PRs

Example output

Image of sample annotation

Credits

Based on https://github.com/gimenete/eslint-action

0.4.0

4 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.4

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago