summaryrefslogtreecommitdiff
path: root/compiler/.hlint.yaml
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-02-21 17:19:07 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-02-24 20:25:06 -0500
commitd0deaaf4241fa236bd8d87abde68a0ad41a7e119 (patch)
tree34dfe80938a15ca0d6efb19f674ebdda54eecee5 /compiler/.hlint.yaml
parentb99646ed23ba75506005025e625edbc9a5cad41b (diff)
downloadhaskell-d0deaaf4241fa236bd8d87abde68a0ad41a7e119.tar.gz
Suggestions due to hlint
It turns out this job hasn't been running for quite a while (perhaps ever) so there are quite a few failures when running the linter locally.
Diffstat (limited to 'compiler/.hlint.yaml')
-rw-r--r--compiler/.hlint.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/.hlint.yaml b/compiler/.hlint.yaml
index a3b780ce62..ee4a04a37a 100644
--- a/compiler/.hlint.yaml
+++ b/compiler/.hlint.yaml
@@ -21,3 +21,6 @@
# below.
- ignore: {name: Redundant do, within: [GHC.SysTools.Terminal, GHC.Utils.Binary]}
+- ignore: {name: Use fewer imports, within: [GHC.Parser, GHC.Cmm.Parser ] }
+- ignore: {name: Redundant return, within: [GHC.Data.FastString] }
+- ignore: {within: [GHC.Parser, GHC.Parser.Lexer] }