https://github.com/bkeepers/annotation
Convert linter output into annotations for the GitHub Checks API
https://github.com/bkeepers/annotation
Last synced: about 1 year ago
JSON representation
Convert linter output into annotations for the GitHub Checks API
- Host: GitHub
- URL: https://github.com/bkeepers/annotation
- Owner: bkeepers
- Created: 2018-09-22T06:44:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-22T06:51:40.000Z (over 7 years ago)
- Last Synced: 2025-03-31T10:51:25.747Z (about 1 year ago)
- Language: Go
- Size: 1.87 MB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Annotation
Convert linter output into annotations for the GitHub [Checks API](https://developer.github.com/v3/checks/runs/#annotations-object)
```sh
$ golint ./...
parser/parser.go:68:35: error strings should not be capitalized or end with punctuation or a newline
$ golint ./... | annotation | jsonpp
[
{
"path": "parser/parser.go",
"start_line": 68,
"end_line": null,
"start_column": 35,
"end_column": null,
"annoation_level": null,
"message": "error strings should not be capitalized or end with punctuation or a newline",
"title": null,
"raw_details": null
}
]
```