summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-03-30 12:17:38 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2022-04-01 11:13:10 +0100
commit691508d87ec089e46524461a5c6ec59b1c17be4c (patch)
tree499a9ea30508fe5803e4026d53a3f57198f7fa4f
parentcc4ec64b2e4dd2e7a68ff554c4d3604942c71f38 (diff)
downloadhaskell-691508d87ec089e46524461a5c6ec59b1c17be4c.tar.gz
hlint: Ignore suggestions in generated HaddockLex file
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] }