server: remove bad hlint hint (#232)

GitOrigin-RevId: 14170853e6a273a0bf1f26eba3f61ad6ce5d1918
This commit is contained in:
Auke Booij 2020-12-21 14:29:22 +01:00 committed by hasura-bot
parent 39a4352569
commit 792de5ba7c

View File

@ -110,7 +110,6 @@
- warn: {lhs: "case x of {Nothing -> a; Just b -> return b}", rhs: "onNothing x a"}
- warn: {lhs: "case x of {Just b -> return b; Nothing -> a}", rhs: "onNothing x a"}
- warn: {lhs: "Data.Text.pack (Prelude.show x)", rhs: "Hasura.Prelude.tshow x"}
- warn: {lhs: "fromMaybe [] x", rhs: "maybeToList x"}
# mapKeys:
- warn: {lhs: "Data.HashMap.Strict.Extended.fromList . map (first f) . Data.HashMap.Strict.Extended.toList", rhs: "mapKeys f"}
- warn: {lhs: "Data.HashMap.Strict.fromList . map (first f) . Data.HashMap.Strict.toList", rhs: "mapKeys f"}