summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.hlint.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.hlint.yaml b/.hlint.yaml
index 1e52f79..3706180 100644
--- a/.hlint.yaml
+++ b/.hlint.yaml
@@ -55,3 +55,23 @@
# Define some custom infix operators
# - fixity: infixr 3 ~^#^~
+
+- hint:
+ lhs: 'f $ x'
+ note: 'Use `<|`'
+ rhs: 'f <| x'
+
+- hint:
+ lhs: 'x & f'
+ note: 'Use `|>`'
+ rhs: 'f |> x'
+
+- hint:
+ lhs: 'f . g'
+ note: 'Use `<.`'
+ rhs: 'f <. g'
+
+- hint:
+ lhs: 'f <. g'
+ note: 'Use `.>` for natural reading direction'
+ rhs: 'g .> f'