diff --git a/.hlint.yaml b/.hlint.yaml index ff71082cc..32b8e5db2 100644 --- a/.hlint.yaml +++ b/.hlint.yaml @@ -2,3 +2,4 @@ - ignore: {name: "Use if"} - ignore: {name: "Redundant bracket"} - ignore: {name: "Redundant $"} +- ignore: {name: "Use head"} diff --git a/common/stats/test/HStream/StatsSpec.hs b/common/stats/test/HStream/StatsSpec.hs index 9bf0e41e9..2fd44e4a7 100644 --- a/common/stats/test/HStream/StatsSpec.hs +++ b/common/stats/test/HStream/StatsSpec.hs @@ -13,8 +13,6 @@ import HStream.Base (runConc, setupFatalSignalHandler) import HStream.Stats import HStream.StatsSpecUtils (mkTimeSeriesTest) -{-# ANN module ("HLint: ignore Use head" :: String) #-} - spec :: Spec spec = do runIO setupFatalSignalHandler diff --git a/common/stats/test/HStream/StatsSpecUtils.hs b/common/stats/test/HStream/StatsSpecUtils.hs index 1b6fd64d8..1c1b91423 100644 --- a/common/stats/test/HStream/StatsSpecUtils.hs +++ b/common/stats/test/HStream/StatsSpecUtils.hs @@ -9,8 +9,6 @@ import Z.Data.CBytes (CBytes) import HStream.Stats (StatsHolder, resetStatsHolder) -{-# ANN module ("HLint: ignore Use head" :: String) #-} - mkTimeSeriesTest :: StatsHolder -> [Int]