Skip to content

Commit e8d73a2

Browse files
authored
Merge pull request #10621 from cabalism/fix/hlint-ignore-dist-newstyles
Have hlint ignore dist-*
2 parents 2851fe1 + e5ba04b commit e8d73a2

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

.hlint.yaml

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Warnings currently triggered by your code
22
- ignore: {name: "Avoid NonEmpty.unzip"} # 1 hint
3-
- ignore: {name: "Avoid lambda"} # 46 hints
3+
- ignore: {name: "Avoid lambda"} # 47 hints
44
- ignore: {name: "Avoid lambda using `infix`"} # 22 hints
5-
- ignore: {name: "Eta reduce"} # 116 hints
5+
- ignore: {name: "Eta reduce"} # 124 hints
66
- ignore: {name: "Evaluate"} # 10 hints
77
- ignore: {name: "Functor law"} # 10 hints
88
- ignore: {name: "Fuse concatMap/map"} # 3 hints
@@ -16,68 +16,68 @@
1616
- ignore: {name: "Monoid law, right identity"} # 3 hints
1717
- ignore: {name: "Move filter"} # 4 hints
1818
- ignore: {name: "Move guards forward"} # 4 hints
19-
- ignore: {name: "Redundant $"} # 175 hints
19+
- ignore: {name: "Redundant $"} # 179 hints
2020
- ignore: {name: "Redundant $!"} # 1 hint
2121
- ignore: {name: "Redundant <$>"} # 16 hints
2222
- ignore: {name: "Redundant =="} # 1 hint
23-
- ignore: {name: "Redundant bracket"} # 232 hints
23+
- ignore: {name: "Redundant bracket"} # 239 hints
2424
- ignore: {name: "Redundant fmap"} # 1 hint
2525
- ignore: {name: "Redundant guard"} # 2 hints
26-
- ignore: {name: "Redundant if"} # 3 hints
26+
- ignore: {name: "Redundant if"} # 6 hints
2727
- ignore: {name: "Redundant lambda"} # 19 hints
2828
- ignore: {name: "Redundant multi-way if"} # 1 hint
29-
- ignore: {name: "Redundant return"} # 7 hints
30-
- ignore: {name: "Replace case with fromMaybe"} # 5 hints
29+
- ignore: {name: "Redundant return"} # 9 hints
30+
- ignore: {name: "Replace case with fromMaybe"} # 6 hints
3131
- ignore: {name: "Replace case with maybe"} # 10 hints
32-
- ignore: {name: "Unused LANGUAGE pragma"} # 167 hints
32+
- ignore: {name: "Unused LANGUAGE pragma"} # 168 hints
3333
- ignore: {name: "Use $>"} # 5 hints
3434
- ignore: {name: "Use ++"} # 4 hints
35-
- ignore: {name: "Use :"} # 25 hints
35+
- ignore: {name: "Use :"} # 30 hints
3636
- ignore: {name: "Use <$"} # 2 hints
37-
- ignore: {name: "Use <$>"} # 86 hints
37+
- ignore: {name: "Use <$>"} # 87 hints
3838
- ignore: {name: "Use <&>"} # 14 hints
39-
- ignore: {name: "Use <=<"} # 5 hints
39+
- ignore: {name: "Use <=<"} # 4 hints
4040
- ignore: {name: "Use =<<"} # 7 hints
4141
- ignore: {name: "Use =="} # 3 hints
4242
- ignore: {name: "Use >=>"} # 3 hints
4343
- ignore: {name: "Use ?~"} # 1 hint
4444
- ignore: {name: "Use Down"} # 3 hints
4545
- ignore: {name: "Use Just"} # 2 hints
4646
- ignore: {name: "Use bimap"} # 7 hints
47-
- ignore: {name: "Use camelCase"} # 96 hints
47+
- ignore: {name: "Use camelCase"} # 98 hints
4848
- ignore: {name: "Use catMaybes"} # 3 hints
49-
- ignore: {name: "Use concatMap"} # 1 hint
49+
- ignore: {name: "Use concatMap"} # 2 hints
5050
- ignore: {name: "Use const"} # 36 hints
5151
- ignore: {name: "Use elem"} # 2 hints
52-
- ignore: {name: "Use fewer imports"} # 19 hints
52+
- ignore: {name: "Use fewer imports"} # 13 hints
5353
- ignore: {name: "Use first"} # 4 hints
54-
- ignore: {name: "Use fmap"} # 24 hints
54+
- ignore: {name: "Use fmap"} # 26 hints
5555
- ignore: {name: "Use fold"} # 1 hint
5656
- ignore: {name: "Use for"} # 1 hint
5757
- ignore: {name: "Use forM_"} # 1 hint
58-
- ignore: {name: "Use fromMaybe"} # 1 hint
58+
- ignore: {name: "Use fromMaybe"} # 4 hints
5959
- ignore: {name: "Use fromRight"} # 1 hint
6060
- ignore: {name: "Use fst"} # 1 hint
61-
- ignore: {name: "Use if"} # 4 hints
61+
- ignore: {name: "Use if"} # 2 hints
6262
- ignore: {name: "Use infix"} # 20 hints
6363
- ignore: {name: "Use isAsciiLower"} # 2 hints
6464
- ignore: {name: "Use isAsciiUpper"} # 2 hints
6565
- ignore: {name: "Use isDigit"} # 2 hints
6666
- ignore: {name: "Use isJust"} # 1 hint
6767
- ignore: {name: "Use isNothing"} # 1 hint
68-
- ignore: {name: "Use lambda-case"} # 47 hints
68+
- ignore: {name: "Use lambda-case"} # 55 hints
6969
- ignore: {name: "Use lefts"} # 1 hint
70-
- ignore: {name: "Use list comprehension"} # 16 hints
70+
- ignore: {name: "Use list comprehension"} # 18 hints
7171
- ignore: {name: "Use list literal"} # 3 hints
7272
- ignore: {name: "Use list literal pattern"} # 11 hints
7373
- ignore: {name: "Use map once"} # 7 hints
7474
- ignore: {name: "Use map with tuple-section"} # 3 hints
7575
- ignore: {name: "Use mapMaybe"} # 13 hints
76-
- ignore: {name: "Use max"} # 1 hint
76+
- ignore: {name: "Use max"} # 2 hints
7777
- ignore: {name: "Use maybe"} # 8 hints
7878
- ignore: {name: "Use minimumBy"} # 1 hint
7979
- ignore: {name: "Use newtype instead of data"} # 26 hints
80-
- ignore: {name: "Use notElem"} # 8 hints
80+
- ignore: {name: "Use notElem"} # 9 hints
8181
- ignore: {name: "Use null"} # 2 hints
8282
- ignore: {name: "Use record patterns"} # 16 hints
8383
- ignore: {name: "Use replicateM"} # 1 hint
@@ -88,11 +88,11 @@
8888
- ignore: {name: "Use traverse"} # 1 hint
8989
- ignore: {name: "Use tuple-section"} # 28 hints
9090
- ignore: {name: "Use typeRep"} # 2 hints
91-
- ignore: {name: "Use unless"} # 20 hints
91+
- ignore: {name: "Use uncurry"} # 1 hint
92+
- ignore: {name: "Use unless"} # 22 hints
9293
- ignore: {name: "Use unwords"} # 8 hints
93-
- ignore: {name: "Use void"} # 22 hints
94+
- ignore: {name: "Use void"} # 23 hints
9495
- ignore: {name: "Use when"} # 1 hint
95-
- ignore: {name: "Use uncurry"} # 1 hint
9696

9797
- arguments:
9898
- --ignore-glob=Cabal-syntax/src/Distribution/Fields/Lexer.hs
@@ -102,3 +102,4 @@
102102
- --ignore-glob=templates/Paths_pkg.template.hs
103103
- --ignore-glob=templates/SPDX.LicenseExceptionId.template.hs
104104
- --ignore-glob=templates/SPDX.LicenseId.template.hs
105+
- --ignore-glob=dist-*

0 commit comments

Comments
 (0)