-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.hlint.yaml
1 lines (1 loc) · 1.1 KB
/
.hlint.yaml
1
[{"group":{"enabled":true,"name":"dollar"}},{"group":{"enabled":true,"name":"future"}},{"group":{"enabled":true,"name":"generalise"}},{"ignore":{"name":"Eta reduce"}},{"ignore":{"name":"Evaluate"}},{"ignore":{"name":"Reduce duplication"}},{"ignore":{"name":"Use list comprehension"}},{"ignore":{"name":"Use section"}},{"package":{"modules":["import Control.Monad"],"name":"monad"}},{"package":{"modules":["import Data.Foldable","import Data.Traversable"],"name":"traversable"}},{"group":{"imports":["package monad","package traversable"],"name":"generalize","rules":[{"warn":{"lhs":"forM","rhs":"for"}},{"warn":{"lhs":"forM_","rhs":"for_"}},{"warn":{"lhs":"map","rhs":"fmap"}},{"warn":{"lhs":"mapM","rhs":"traverse"}},{"warn":{"lhs":"mapM_","rhs":"traverse_"}},{"warn":{"lhs":"return","rhs":"pure"}},{"warn":{"lhs":"sequence","rhs":"sequenceA"}},{"warn":{"lhs":"sequence_","rhs":"sequenceA_"}}]}},{"group":{"imports":["package traversable"],"name":"generalize","rules":[{"hint":{"lhs":"maybe (pure ())","note":"IncreasesLaziness","rhs":"traverse_"}},{"warn":{"lhs":"mappend","rhs":"(<>)"}},{"warn":{"lhs":"(++)","rhs":"(<>)"}}]}}]