forked from haskell/aeson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.hlint.yaml
49 lines (46 loc) · 1.11 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Ignore some builtin hints
- ignore:
name: "Reduce duplication"
within:
- Data.Aeson.Types.ToJSON
- ignore:
name: "Eta reduce"
- ignore:
name: "Use newtype instead of data"
within:
- Data.Aeson.Types.Internal
- ignore:
name: "Use <=<"
within:
- Data.Aeson.Types.FromJSON
- ignore:
name: "Avoid lambda"
within:
- Data.Time.FromText
- Data.Aeson.Internal.Scientific
- ignore:
name: "Use isDigit"
within:
- Data.Time.FromText
# CPP confuses
- ignore:
name: "Use fewer imports"
within:
- Data.Aeson.Types.Internal
- ignore:
name: "Unused LANGUAGE pragma"
within:
- Data.Aeson.Internal.ByteString
- Data.Aeson.Internal.Text
- Compare.JsonBench
- ignore: { name: "Use fewer imports" }
- ignore: { name: "Use lambda-case" }
- ignore: { name: "Use camelCase" }
- ignore: { name: "Redundant multi-way if" }
- ignore: { name: "Use <$>" }
- ignore: { name: "Use fmap" }
- ignore: { name: "Use curry" }
- ignore: { name: "Use const" }
- ignore: { name: "Use -" }
- ignore: { name: "Use /=" }
- ignore: { name: "Use uncurry" }