Remove eslint rule deactivations (#290)

This commit is contained in:
schroda
2023-05-11 18:00:37 +02:00
committed by GitHub
parent d92dc83dda
commit bd91510227
13 changed files with 38 additions and 77 deletions

View File

@@ -64,9 +64,7 @@ const filterManga = (
return matchesSearch && matchesFilters;
});
const sortByUnread = (a: IMangaCard, b: IMangaCard): number =>
// eslint-disable-next-line implicit-arrow-linebreak
(a.unreadCount ?? 0) - (b.unreadCount ?? 0);
const sortByUnread = (a: IMangaCard, b: IMangaCard): number => (a.unreadCount ?? 0) - (b.unreadCount ?? 0);
const sortByTitle = (a: IMangaCard, b: IMangaCard): number => a.title.localeCompare(b.title);