aboutsummaryrefslogtreecommitdiff
path: root/.hlint.yaml
diff options
context:
space:
mode:
authorPhil de Joux <philderbeast@gmail.com>2022-07-19 03:32:55 -0400
committerGitHub <noreply@github.com>2022-07-19 09:32:55 +0200
commit90c38242e54d1a742426e2b1b3c7d71e226811bd (patch)
tree1e31e341fced1b7492b25376a06827aaa5cc3fb7 /.hlint.yaml
parent06b1f629a9210f9d92dea1cc6111087181c688ff (diff)
Follow hlint suggestion: unused LANGUAGE pragma. (#1504)
* Follow hlint suggestion: unused LANGUAGE pragma. * Ignore within modules to pass linting and pass tests.
Diffstat (limited to '.hlint.yaml')
-rw-r--r--.hlint.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.hlint.yaml b/.hlint.yaml
index ea61bf90..4a0c8ddc 100644
--- a/.hlint.yaml
+++ b/.hlint.yaml
@@ -20,7 +20,6 @@
- ignore: {name: "Redundant return"} # 1 hint
- ignore: {name: "Replace case with fromMaybe"} # 2 hints
- ignore: {name: "Replace case with maybe"} # 4 hints
-- ignore: {name: "Unused LANGUAGE pragma"} # 11 hints
- ignore: {name: "Use $>"} # 4 hints
- ignore: {name: "Use ++"} # 3 hints
- ignore: {name: "Use :"} # 4 hints
@@ -58,6 +57,9 @@
- ignore: {name: "Use tuple-section"} # 3 hints
- ignore: {name: "Use unless"} # 1 hint
- ignore: {name: "Use void"} # 1 hint
+# Ignore within modules where following hlint or adding an HLint annotation
+# would alter the expected test output.
+- ignore: {name: "Unused LANGUAGE pragma", within: [QuasiExpr, TH, Ticket112]}
# Module names (not all unique) where CPP can be used
- extensions:
- name: CPP