forked from radicle-dev/radicle-alpha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.hlint.yaml
34 lines (28 loc) · 1.1 KB
/
.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
24
25
26
27
28
29
30
31
32
33
34
# HLint configuration file
- arguments: [-XTypeApplications]
- modules:
- {name: [Data.Set, Data.HashSet], as: Set}
- {name: [Data.Map], as: Map}
- {name: [Data.HashMap], as: HashMap}
- {name: [Data.List.NonEmpty], as: NonEmpty}
- {name: [Data.Sequence], as: Seq}
- {name: [Data.Text], as: T}
- {name: [Data.Text.Lazy], as: LT}
- {name: [Data.ByteString], as: BS}
- {name: [Data.ByteString.Lazy], as: LBS}
- {name: [Data.ByteString.Char8], as: C8}
- {name: [Data.ByteString.Lazy.Char8], as: L8}
- functions:
- {name: unsafePerformIO, within: [Radicle.Tests, Radicle.Internal.TestCapabilities]}
- warn: {lhs: foldl, rhs: foldl'}
- warn: {lhs: return, rhs: pure}
- warn: {lhs: ap, rhs: (<*>)}
- ignore: {name: Use String, within: [Radicle.Internal.Parse]}
- ignore: {name: Redundant do}
- ignore: {name: Use ++}
- ignore: {name: Use &&}
- ignore: {name: Use fromMaybe}
- ignore: {name: Eta reduce}
- ignore: {name: Use lambda-case}
- ignore: {name: Redundant $}
- ignore: {name: Redundant do}