-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.hlint.yaml
23 lines (22 loc) · 907 Bytes
/
.hlint.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
- ignore: {name: "Use camelCase"}
- ignore: {name: "Use list comprehension"}
- ignore: {name: "Redundant if"}
- ignore: {name: "Avoid lambda"}
- ignore: {name: "Eta reduce"}
- ignore: {name: "Use fmap"} # specific for GHC 7.8 compat
- ignore: {name: "Parse error"} # we trust the compiler over HLint
- ignore: {name: "Use =="} # Creates infinite loops in `EQ` using expressions
- ignore: {name: "Evaluate"}
- ignore: {name: "Use &&&"}
- ignore: {name: "Redundant compare"}
- ignore: {name: "Use list literal"}
- ignore: {name: "Use const"}
- ignore: {name: "Use traverse_"}
# A hack to ignore some code beyond our control such as e.g.:
#
# muste/data/grammars/novo_modo/latin-rgl/dict/MkLatin.hs:63:21: Suggestion: Use infix
# Found:
# elem (take 3 (reverse f)) ["era", "ere", "eri"]
# Perhaps:
# take 3 (reverse f) `elem` ["era", "ere", "eri"]
- ignore: {within: [Main, Both, ConvertLex, Old2New]}