aboutsummaryrefslogtreecommitdiff
path: root/.golangci.yml
Commit message (Collapse)AuthorAge
* golangci: enable goimportsValentin Rothberg2020-03-05
| | | | | | Enable the goimports linter and fix reports. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* .golangci.yml: move swagger.go from MakefileValentin Rothberg2020-01-14
| | | | Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* make lint: include docs/Valentin Rothberg2020-01-14
| | | | Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* make lint: include pkg/tracingValentin Rothberg2020-01-14
| | | | Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* make lint: enable gocriticValentin Rothberg2020-01-13
| | | | | | | `gocritic` is a powerful linter that helps in preventing certain kinds of errors as well as enforcing a coding style. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* linter: blacklist linters instead of whitelistingValentin Rothberg2020-01-13
| | | | | | | | Blacklist linters instead of whitelisting them. This way, we will benefit from new linters when updating and it's easier to actually find and fix open issues. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* bump golangci-lint to 1.18.0Valentin Rothberg2020-01-13
| | | | | | | The latest versions have regressions in --skip-dirs where some linters will still run and error out. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
* build: drop support for ostreeGiuseppe Scrivano2019-10-30
| | | | | | | it is going to be removed from containers/image as well, so no longer depend on it. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* golangci-lint round #3baude2019-07-21
| | | | | | | this is the third round of preparing to use the golangci-lint on our code base. Signed-off-by: baude <bbaude@redhat.com>
* Revert "Switch to golangci-lint"Brent Baude2019-04-05
| | | | Signed-off-by: baude <bbaude@redhat.com>
* Add varcheck linterSascha Grunert2019-04-04
| | | | Signed-off-by: Sascha Grunert <sgrunert@suse.com>
* Add deadcode linterSascha Grunert2019-04-04
| | | | Signed-off-by: Sascha Grunert <sgrunert@suse.com>
* Update lint to use golangci-lintSascha Grunert2019-04-04
Signed-off-by: Sascha Grunert <sgrunert@suse.com>