Enabled a few linters
This commit is contained in:
@ -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
|
||||
|
@ -57,7 +57,7 @@ func Filter(ctx *aero.Context) string {
|
||||
}
|
||||
|
||||
func filterAnime(year, season, status, typ string) []*arn.Anime {
|
||||
var results []*arn.Anime
|
||||
results := make([]*arn.Anime, 0, 1024)
|
||||
|
||||
for anime := range arn.StreamAnime() {
|
||||
if year != "any" {
|
||||
|
Reference in New Issue
Block a user