eslint-formatter-github-annotations
An ESLint formatter to report as GitHub Checks annotations
Usage
-
Add eslint-formatter-github-annotations
to your dependencies:
npm install --save-dev eslint-formatter-github-annotations
-
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.