summaryrefslogtreecommitdiff
path: root/.hlint.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.hlint.yaml')
-rw-r--r--.hlint.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.hlint.yaml b/.hlint.yaml
index 7c00f19..1ab3ef0 100644
--- a/.hlint.yaml
+++ b/.hlint.yaml
@@ -80,3 +80,13 @@
lhs: 'return'
note: 'Use the more general Applicative interface'
rhs: 'pure'
+
+- hint:
+ lhs: 'mapM'
+ note: 'traverse is easier to read than mapM'
+ rhs: 'traverse'
+
+- hint:
+ lhs: 'mapM_'
+ note: 'traverse_ is easier to read than mapM'
+ rhs: 'traverse_'