From a3f04fbd2fbf9e39fac28a0f74d1e762dc4c9035 Mon Sep 17 00:00:00 2001
From: Eduard Urbach <e.urbach@gmail.com>
Date: Fri, 7 Jun 2019 10:38:14 +0900
Subject: [PATCH] Fixed scopelint complaints

---
 .golangci.yml                                                    | 1 -
 pages/calendar/calendar.go                                       | 1 +
 patches/merge-duplicate-characters/merge-duplicate-characters.go | 1 +
 3 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.golangci.yml b/.golangci.yml
index 0bcbfaa3..4f339287 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -12,5 +12,4 @@ linters:
     - gochecknoinits
     - gocyclo
     - maligned
-    - scopelint
     - stylecheck
\ No newline at end of file
diff --git a/pages/calendar/calendar.go b/pages/calendar/calendar.go
index 02e02796..18e68988 100644
--- a/pages/calendar/calendar.go
+++ b/pages/calendar/calendar.go
@@ -91,6 +91,7 @@ func Get(ctx aero.Context) error {
 	}
 
 	for i := 0; i < 7; i++ {
+		// nolint:scopelint
 		sort.Slice(days[i].Entries, func(a, b int) bool {
 			airingA := days[i].Entries[a].Episode.AiringDate.Start
 			airingB := days[i].Entries[b].Episode.AiringDate.Start
diff --git a/patches/merge-duplicate-characters/merge-duplicate-characters.go b/patches/merge-duplicate-characters/merge-duplicate-characters.go
index 31b1feae..b64dac5d 100644
--- a/patches/merge-duplicate-characters/merge-duplicate-characters.go
+++ b/patches/merge-duplicate-characters/merge-duplicate-characters.go
@@ -26,6 +26,7 @@ func main() {
 
 	for _, characters := range malIDToCharacters {
 		if len(characters) > 1 {
+			// nolint:scopelint
 			sort.Slice(characters, func(i, j int) bool {
 				return len(characters[i].Likes) > len(characters[j].Likes)
 			})