Skip to content

Commit 46391f7

Browse files
committed
Bump to hlint-3.8 and regenerate counts
1 parent 1cdb4b9 commit 46391f7

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v4
1212
- uses: haskell-actions/hlint-setup@v2
1313
with:
14-
version: "3.5"
14+
version: "3.8"
1515
- uses: haskell-actions/hlint-run@v2
1616
with:
1717
path: "."

.hlint.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
# Warnings currently triggered by your code
2+
- ignore: {name: "Avoid NonEmpty.unzip"} # 1 hint
23
- ignore: {name: "Avoid lambda"} # 46 hints
34
- ignore: {name: "Avoid lambda using `infix`"} # 22 hints
45
- ignore: {name: "Eta reduce"} # 116 hints
56
- ignore: {name: "Evaluate"} # 10 hints
6-
- ignore: {name: "Functor law"} # 14 hints
7+
- ignore: {name: "Functor law"} # 10 hints
78
- ignore: {name: "Fuse concatMap/map"} # 3 hints
89
- ignore: {name: "Fuse foldr/map"} # 3 hints
910
- ignore: {name: "Fuse mapMaybe/map"} # 1 hint
11+
- ignore: {name: "Fuse traverse_/fmap"} # 1 hint
1012
- ignore: {name: "Fuse traverse_/map"} # 1 hint
1113
- ignore: {name: "Hoist not"} # 16 hints
1214
- ignore: {name: "Missing NOINLINE pragma"} # 1 hint
1315
- ignore: {name: "Monoid law, left identity"} # 3 hints
1416
- ignore: {name: "Monoid law, right identity"} # 3 hints
17+
- ignore: {name: "Move filter"} # 4 hints
1518
- ignore: {name: "Move guards forward"} # 4 hints
1619
- ignore: {name: "Redundant $"} # 175 hints
1720
- ignore: {name: "Redundant $!"} # 1 hint
18-
- ignore: {name: "Redundant <$>"} # 7 hints
21+
- ignore: {name: "Redundant <$>"} # 16 hints
1922
- ignore: {name: "Redundant =="} # 1 hint
2023
- ignore: {name: "Redundant bracket"} # 232 hints
24+
- ignore: {name: "Redundant fmap"} # 1 hint
2125
- ignore: {name: "Redundant guard"} # 2 hints
2226
- ignore: {name: "Redundant if"} # 3 hints
2327
- ignore: {name: "Redundant lambda"} # 19 hints
@@ -37,6 +41,7 @@
3741
- ignore: {name: "Use =="} # 3 hints
3842
- ignore: {name: "Use >=>"} # 3 hints
3943
- ignore: {name: "Use ?~"} # 1 hint
44+
- ignore: {name: "Use Down"} # 3 hints
4045
- ignore: {name: "Use Just"} # 2 hints
4146
- ignore: {name: "Use bimap"} # 7 hints
4247
- ignore: {name: "Use camelCase"} # 96 hints
@@ -65,11 +70,12 @@
6570
- ignore: {name: "Use list comprehension"} # 16 hints
6671
- ignore: {name: "Use list literal"} # 3 hints
6772
- ignore: {name: "Use list literal pattern"} # 11 hints
68-
- ignore: {name: "Use map"} # 3 hints
6973
- ignore: {name: "Use map once"} # 7 hints
74+
- ignore: {name: "Use map with tuple-section"} # 3 hints
7075
- ignore: {name: "Use mapMaybe"} # 13 hints
7176
- ignore: {name: "Use max"} # 1 hint
7277
- ignore: {name: "Use maybe"} # 8 hints
78+
- ignore: {name: "Use minimumBy"} # 1 hint
7379
- ignore: {name: "Use newtype instead of data"} # 26 hints
7480
- ignore: {name: "Use notElem"} # 8 hints
7581
- ignore: {name: "Use null"} # 2 hints
@@ -79,7 +85,6 @@
7985
- ignore: {name: "Use rights"} # 2 hints
8086
- ignore: {name: "Use second"} # 7 hints
8187
- ignore: {name: "Use section"} # 17 hints
82-
- ignore: {name: "Use sortOn"} # 15 hints
8388
- ignore: {name: "Use traverse"} # 1 hint
8489
- ignore: {name: "Use tuple-section"} # 28 hints
8590
- ignore: {name: "Use typeRep"} # 2 hints

0 commit comments

Comments
 (0)