summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-03-30 12:17:38 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2022-03-30 12:20:12 +0100
commitc87afd6e3585d54a1f67460c6a606ef079608027 (patch)
tree1eed6f5d7a029dd747a0d6d11ec75f7dfd12dd95
parent21894a6318e0daffa0e34041855c3c73ad1f5b6f (diff)
downloadhaskell-wip/t21313.tar.gz
hlint: Ignore suggestions in generated HaddockLex filewip/t21313
With the make build system this file ends up in the compiler/ subdirectory so is linted. With hadrian, the file ends up in _build so it's not linted. Fixes #21313
-rw-r--r--compiler/.hlint.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/.hlint.yaml b/compiler/.hlint.yaml
index ee4a04a37a..14a5ec1164 100644
--- a/compiler/.hlint.yaml
+++ b/compiler/.hlint.yaml
@@ -23,4 +23,4 @@
- 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] }
+- ignore: {within: [GHC.Parser, GHC.Parser.Lexer, GHC.Parser.HaddockLex] }