@neovici/github-actions-eslint-annotator
Create ESLint Checks when running in Github Actions
Last updated 3 months ago by nomego .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @neovici/github-actions-eslint-annotator 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.4.0                                ...           latest (3 months ago)

7 Versions

  • 0.4.0                                ...           3 months ago
  • 0.3.0                                ...           8 months ago
  • 0.2.0                                ...           8 months ago
  • 0.1.4                                ...           9 months ago
  • 0.1.2                                ...           9 months ago
  • 0.1.1                                ...           9 months ago
  • 0.1.0                                ...           9 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (11)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |