actions-marketplace-validations/ESLint Annotate from Report JSON
Annotates pull request diffs with warnings and errors from an ESLint report JSON file.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| repo-token | The 'GITHUB_TOKEN' secret | yes | ${{ github.token }} |
| report-json | Path or glob pattern to locate the ESLint report JSON file | no | eslint_report.json |
| only-pr-files | Only annotate files changed when run on the 'pull_request' event | no | true |
| fail-on-warning | Fail the GitHub Action when ESLint warnings are detected. Set to 'true' to enable. | no | false |
| fail-on-error | Whether to fail the Github action when ESLint errors are detected. If set to false, the check that is created will still fail on ESLint errors. | no | true |
| check-name | The name of the GitHub status check created. | no | ESLint Report Analysis |
| markdown-report-on-step-summary | Whether to show a markdown report in the step summary. | no | false |
Outputs
no outputs