Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomasheller/golinters
Go linters report
https://github.com/thomasheller/golinters
Last synced: 17 days ago
JSON representation
Go linters report
- Host: GitHub
- URL: https://github.com/thomasheller/golinters
- Owner: thomasheller
- License: mit
- Created: 2017-03-31T20:01:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-27T23:51:20.000Z (about 6 years ago)
- Last Synced: 2024-10-11T05:43:37.154Z (about 1 month ago)
- Language: Go
- Size: 211 KB
- Stars: 5
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# golinters
golinters generates HTML reports about Go linters. It fetches the
linters' source and does static analysis. It also queries the GitHub
API to figure out the maintainers.```sh
$ go get github.com/thomasheller/golinters/cmd/golinters
$ golinters
[...]
```If a popular linter is missing, please file an issue!
## Example output
![HTML screenshot](https://raw.githubusercontent.com/thomasheller/golinters/master/examples/output-2017-03-31-214655-CEST.png)
[Download corresponding HTML file](https://raw.githubusercontent.com/thomasheller/golinters/master/examples/output-2017-03-31-214655-CEST.html)
## Options
By default, golinters will create a temporary file and open the report
in the standard browser.You can specify `-write somefile.html` though, if you want golinters
to just write to a specific file and not open any browser.Because golinters uses the GitHub API to figure out the maintainers'
names, you might want to supply a GitHub username and API token via
`-ghuser` and `-ghtoken` so that you don't run into rate limit
problems.If you want to start over, you can use `-remove` to delete the
linters' source in your GOPATH. Be careful, as this deletes entire
repositories, even if the linter is just one part of it.