summaryrefslogtreecommitdiff
path: root/.hlint.yaml
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-01-29 02:37:14 -0500
committerBen Sima <ben@bsima.me>2021-01-29 03:22:01 -0500
commitb289dee25ad8ce4c2622fadb2f4c31fb90914b39 (patch)
tree5511da780cdabbb98c8fbe01f03997d3263e7880 /.hlint.yaml
parent42c7614b6a4bd7504e9bf31e0882db58b85857bc (diff)
Lint 'return' into 'pure', replace bind operator
Diffstat (limited to '.hlint.yaml')
-rw-r--r--.hlint.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.hlint.yaml b/.hlint.yaml
index a595d0f..7c00f19 100644
--- a/.hlint.yaml
+++ b/.hlint.yaml
@@ -75,3 +75,8 @@
# lhs: 'f <. g'
# note: 'Use `.>` for natural reading direction'
# rhs: 'g .> f'
+
+- hint:
+ lhs: 'return'
+ note: 'Use the more general Applicative interface'
+ rhs: 'pure'