Enabled a few linters

This commit is contained in:
2019-05-08 17:16:47 +09:00
parent 868ba2ba99
commit 28aef487c5
5 changed files with 14 additions and 15 deletions

View File

@ -122,6 +122,7 @@ func compare(animes []*arn.Anime) []*utils.MALComparison {
// diff returns all the differences between an anime and its MAL counterpart.
func diff(anime *arn.Anime, malAnime *mal.Anime) []animediff.Difference {
// nolint (prealloc linter would complain, but this is best left as nil by default)
var differences []animediff.Difference
// We'll use the following diffs