@@ -10,6 +10,8 @@
10- suggest: {name: "Unused LANGUAGE pragma"}
10- suggest: {name: "Unused LANGUAGE pragma"}
11- suggest: {name: "Eta reduce"}
11- suggest: {name: "Eta reduce"}
12- suggest: {name: "Reduce duplication"}
12- suggest: {name: "Reduce duplication"}
14+# Warnings currently ignored
13- ignore: {name: "Use list literal pattern"}
15- ignore: {name: "Use list literal pattern"}
14- ignore: {name: "Use tuple-section"} # requires GHC extension
16- ignore: {name: "Use tuple-section"} # requires GHC extension
15- ignore: {name: "Use fromMaybe"} # may want to use this suggestion, but it didn't match the common idiom of the library
17- ignore: {name: "Use fromMaybe"} # may want to use this suggestion, but it didn't match the common idiom of the library
@@ -23,6 +25,13 @@
23- ignore: {name: "Redundant $!"}
25- ignore: {name: "Redundant $!"}
24- ignore: {name: "Use fmap"}
26- ignore: {name: "Use fmap"}
28+# Warnings ignored in specific places
29+- ignore: {name: "Use ++", within: Serial.Transformation}
30+- ignore: {name: "Use mapM", within: Serial.Transformation}
31+- ignore: {name: "Use traverse", within: Serial.Transformation}
33+- ignore: {name: "Redundant <*", within: Serial.NestedStream}
34+- ignore: {name: "Use ++", within: Serial.NestedStream}
27# Specify additional command line arguments
36# Specify additional command line arguments
@@ -56,7 +65,7 @@
56# Turn on hints that are off by default
65# Turn on hints that are off by default
58# Ban "module X(module X) where", to require a real export list
67# Ban "module X(module X) where", to require a real export list
59−# - warn: {name: Use explicit module export list}
68+- warn: {name: Use explicit module export list}
61# Replace a $ b $ c with a . b $ c
70# Replace a $ b $ c with a . b $ c
62# - group: {name: dollar, enabled: true}
71# - group: {name: dollar, enabled: true}