https://github.com/aergonaut/eslint-problem-matchers
https://github.com/aergonaut/eslint-problem-matchers
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aergonaut/eslint-problem-matchers
- Owner: aergonaut
- License: mit
- Created: 2020-11-15T19:37:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-16T16:35:14.000Z (over 4 years ago)
- Last Synced: 2025-02-09T19:29:47.145Z (3 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `eslint-problem-matchers`
Problem Matchers for GitHub Actions supporting various ESLint output formats.
The currently supported formats are:
* [visualstudio](https://eslint.org/docs/user-guide/formatters/#visualstudio)
This action only setups the matchers to parse output and create annotations. _It
does not run ESLint!_ You must make sure ESLint runs in another step in your
workflow, after this action has run.## Usage
Add it to your workflow file:
```yml
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- uses: aergonaut/eslint-problem-matchers@v1
- runs: |
npx eslint --format visualstudio
```You must ensure ESLint runs _after_ this action in your workflow file. This
action does not run ESLint for you.## License
MIT.