1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Enable more linters

This commit is contained in:
Maksym Pavlenko
2020-04-16 16:53:28 -07:00
parent eb4fec5354
commit 6a11db7fd1
2 changed files with 8 additions and 1 deletions

View File

@ -11,6 +11,14 @@ linters:
- vet
- unused
- misspell
- bodyclose
- interfacer
- unconvert
- maligned
- depguard
- nakedret
- prealloc
- whitespace
disable:
- errcheck

View File

@ -143,7 +143,6 @@ func main() {
if cronid, err = c.AddFunc(_feed.CronSchedule, func() {
log.Debugf("adding %q to update queue", _feed.ID)
updates <- _feed
}); err != nil {
log.WithError(err).Fatalf("can't create cron task for feed: %s", _feed.ID)
}