Skip to content

Commit 7daa882

Browse files
authored
Merge pull request #11082 from cabalism/bump/hlint-3.10
Bump to hlint-3.10
2 parents 9a67ecc + e55b866 commit 7daa882

File tree

2 files changed

+22
-24
lines changed

2 files changed

+22
-24
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.8"
14+
version: "3.10"
1515
- uses: haskell-actions/hlint-run@v2
1616
with:
1717
path: "."

.hlint.yaml

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# Warnings currently triggered by your code
22
- ignore: {name: "Avoid NonEmpty.unzip"} # 1 hint
3-
- ignore: {name: "Avoid lambda"} # 47 hints
3+
- ignore: {name: "Avoid lambda"} # 50 hints
44
- ignore: {name: "Avoid lambda using `infix`"} # 23 hints
5-
- ignore: {name: "Eta reduce"} # 124 hints
5+
- ignore: {name: "Eta reduce"} # 132 hints
66
- ignore: {name: "Evaluate"} # 10 hints
77
- ignore: {name: "Functor law"} # 10 hints
88
- ignore: {name: "Fuse concatMap/map"} # 3 hints
99
- ignore: {name: "Fuse foldr/map"} # 3 hints
10-
- ignore: {name: "Fuse mapMaybe/map"} # 1 hint
1110
- ignore: {name: "Fuse traverse_/fmap"} # 1 hint
1211
- ignore: {name: "Fuse traverse_/map"} # 1 hint
1312
- ignore: {name: "Hoist not"} # 16 hints
@@ -16,54 +15,53 @@
1615
- ignore: {name: "Monoid law, right identity"} # 3 hints
1716
- ignore: {name: "Move filter"} # 4 hints
1817
- ignore: {name: "Move guards forward"} # 4 hints
19-
- ignore: {name: "Redundant $"} # 178 hints
18+
- ignore: {name: "Redundant $"} # 192 hints
2019
- ignore: {name: "Redundant $!"} # 1 hint
21-
- ignore: {name: "Redundant <$>"} # 16 hints
20+
- ignore: {name: "Redundant <$>"} # 17 hints
2221
- ignore: {name: "Redundant =="} # 1 hint
23-
- ignore: {name: "Redundant bracket"} # 240 hints
22+
- ignore: {name: "Redundant bracket"} # 260 hints
2423
- ignore: {name: "Redundant fmap"} # 1 hint
2524
- ignore: {name: "Redundant guard"} # 2 hints
2625
- ignore: {name: "Redundant if"} # 6 hints
2726
- ignore: {name: "Redundant lambda"} # 19 hints
27+
- ignore: {name: "Redundant maybe"} # 2 hints
2828
- ignore: {name: "Redundant multi-way if"} # 1 hint
2929
- ignore: {name: "Redundant return"} # 9 hints
30-
- ignore: {name: "Replace case with fromMaybe"} # 6 hints
30+
- ignore: {name: "Replace case with fromMaybe"} # 4 hints
3131
- ignore: {name: "Replace case with maybe"} # 10 hints
3232
- ignore: {name: "Use $>"} # 5 hints
3333
- ignore: {name: "Use ++"} # 4 hints
34-
- ignore: {name: "Use :"} # 30 hints
34+
- ignore: {name: "Use :"} # 28 hints
3535
- ignore: {name: "Use <$"} # 2 hints
36-
- ignore: {name: "Use <$>"} # 87 hints
37-
- ignore: {name: "Use <&>"} # 14 hints
36+
- ignore: {name: "Use <$>"} # 86 hints
37+
- ignore: {name: "Use <&>"} # 15 hints
3838
- ignore: {name: "Use <=<"} # 4 hints
3939
- ignore: {name: "Use =<<"} # 7 hints
4040
- ignore: {name: "Use =="} # 3 hints
4141
- ignore: {name: "Use >=>"} # 3 hints
4242
- ignore: {name: "Use ?~"} # 1 hint
4343
- ignore: {name: "Use Down"} # 3 hints
44-
- ignore: {name: "Use Just"} # 2 hints
4544
- ignore: {name: "Use bimap"} # 7 hints
46-
- ignore: {name: "Use camelCase"} # 98 hints
45+
- ignore: {name: "Use camelCase"} # 94 hints
4746
- ignore: {name: "Use catMaybes"} # 3 hints
4847
- ignore: {name: "Use concatMap"} # 2 hints
49-
- ignore: {name: "Use const"} # 36 hints
48+
- ignore: {name: "Use const"} # 37 hints
5049
- ignore: {name: "Use elem"} # 2 hints
51-
- ignore: {name: "Use first"} # 4 hints
52-
- ignore: {name: "Use fmap"} # 25 hints
50+
- ignore: {name: "Use first"} # 5 hints
51+
- ignore: {name: "Use fmap"} # 24 hints
5352
- ignore: {name: "Use fold"} # 1 hint
5453
- ignore: {name: "Use for"} # 1 hint
5554
- ignore: {name: "Use forM_"} # 1 hint
56-
- ignore: {name: "Use fromMaybe"} # 4 hints
55+
- ignore: {name: "Use fromMaybe"} # 5 hints
5756
- ignore: {name: "Use fromRight"} # 1 hint
58-
- ignore: {name: "Use fst"} # 1 hint
59-
- ignore: {name: "Use if"} # 2 hints
57+
- ignore: {name: "Use fst"} # 2 hints
6058
- ignore: {name: "Use infix"} # 20 hints
6159
- ignore: {name: "Use isAsciiLower"} # 2 hints
6260
- ignore: {name: "Use isAsciiUpper"} # 2 hints
6361
- ignore: {name: "Use isDigit"} # 2 hints
6462
- ignore: {name: "Use isJust"} # 1 hint
6563
- ignore: {name: "Use isNothing"} # 1 hint
66-
- ignore: {name: "Use lambda-case"} # 55 hints
64+
- ignore: {name: "Use lambda-case"} # 58 hints
6765
- ignore: {name: "Use lefts"} # 1 hint
6866
- ignore: {name: "Use list comprehension"} # 19 hints
6967
- ignore: {name: "Use list literal"} # 3 hints
@@ -74,20 +72,20 @@
7472
- ignore: {name: "Use max"} # 2 hints
7573
- ignore: {name: "Use maybe"} # 8 hints
7674
- ignore: {name: "Use minimumBy"} # 1 hint
77-
- ignore: {name: "Use newtype instead of data"} # 26 hints
75+
- ignore: {name: "Use newtype instead of data"} # 29 hints
7876
- ignore: {name: "Use notElem"} # 9 hints
7977
- ignore: {name: "Use null"} # 2 hints
8078
- ignore: {name: "Use record patterns"} # 16 hints
8179
- ignore: {name: "Use replicateM"} # 1 hint
8280
- ignore: {name: "Use replicateM_"} # 2 hints
8381
- ignore: {name: "Use rights"} # 2 hints
8482
- ignore: {name: "Use second"} # 7 hints
85-
- ignore: {name: "Use section"} # 17 hints
83+
- ignore: {name: "Use section"} # 18 hints
8684
- ignore: {name: "Use traverse"} # 1 hint
87-
- ignore: {name: "Use tuple-section"} # 28 hints
85+
- ignore: {name: "Use tuple-section"} # 27 hints
8886
- ignore: {name: "Use typeRep"} # 2 hints
8987
- ignore: {name: "Use uncurry"} # 1 hint
90-
- ignore: {name: "Use unless"} # 22 hints
88+
- ignore: {name: "Use unless"} # 23 hints
9189
- ignore: {name: "Use unwords"} # 8 hints
9290
- ignore: {name: "Use void"} # 23 hints
9391
- ignore: {name: "Use when"} # 1 hint

0 commit comments

Comments
 (0)