Skip to content

Commit

Permalink
Configure HLint to play nicely with the auxiliary include
Browse files Browse the repository at this point in the history
  • Loading branch information
quchen committed Aug 5, 2017
1 parent c95736a commit 6d81205
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .hlint.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
- arguments:
- --cpp-include=aux
- --cpp-define=MIN_VERSION_base=1


# Avoiding lambdas is not always a good idea if you keep in mind that GHC's
# inliner will only consider fully applied functions.
- ignore: {name: "Avoid lambda"}
Expand All @@ -22,7 +27,7 @@
- ignore: {name: "Use second"}

# Not all 3-liners should be deduplicated
- ignore: {name: "Reduce duplication"}
- ignore: {name: Reduce duplication, within: Data.Text.Prettyprint.Doc.Render.Terminal.Internal}

# I don’t like $
- error:
Expand Down

0 comments on commit 6d81205

Please sign in to comment.