forked from axellang/axel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.hlint.yaml
68 lines (60 loc) · 2.12 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# NOTE THIS COMMENT WAS ORIGINALLY AUTOGENERATED BY `hlint`
#
# - modules:
# - {name: [Data.Set, Data.HashSet], as: Set} # if you import Data.Set qualified, it must be as 'Set'
# - {name: Control.Arrow, within: []} # Certain modules are banned entirely
#
# Replace a $ b $ c with a . b $ c
# - group: {name: dollar, enabled: true}
#
# Generalise map to fmap, ++ to <>
# - group: {name: generalise, enabled: true}
# NOTE Keep in sync with `package.yaml#default-extensions` and `.hindent.yaml#extensions`.
- arguments:
- -XBangPatterns
- -XConstraintKinds
- -XDataKinds
- -XDeriveDataTypeable
- -XDeriveFoldable
- -XDeriveFunctor
- -XDeriveGeneric
- -XDeriveTraversable
- -XFlexibleContexts
- -XFlexibleInstances
- -XFunctionalDependencies
- -XGeneralizedNewtypeDeriving
- -XInstanceSigs
- -XKindSignatures
- -XLambdaCase
- -XMultiParamTypeClasses
- -XMultiWayIf
- -XNoImplicitPrelude
- -XOverloadedStrings
- -XPolyKinds
- -XRankNTypes
- -XStandaloneDeriving
- -XTupleSections
- -XTypeApplications
- -XTypeOperators
- modules:
- {name: Axel.Utils.Debug, within: []}
- {name: Debug.Trace, within: []}
- {name: [Prelude], as: Prelude}
- {name: Text.Megaparsec.Debug, within: []}
- functions:
- {name: unsafeEmbedIO, within: []}
- {name: unsafePerformIO, within: []}
- {name: undefined, within: []}
- warn: {lhs: "head x", rhs: "Axel.Utils.List.unsafeHead x"}
- warn: {lhs: "fromJust (head' x)", rhs: "Axel.Utils.List.unsafeHead x"}
- warn: {lhs: "fromJust (down x)", rhs: "Axel.Utils.Zipper.unsafeDown x"}
- warn: {lhs: "fromJust (left x)", rhs: "Axel.Utils.Zipper.unsafeLeft x"}
- warn: {lhs: "fromJust (right x)", rhs: "Axel.Utils.Zipper.unsafeRight x"}
- warn: {lhs: "fromJust (up x)", rhs: "Axel.Utils.Zipper.unsafeUp x"}
- warn: {lhs: "unsafeTee (show x)", rhs: "Axel.Utils.Debug.unsafeTeeS x"}
- warn: {lhs: "unsafeTee' f (show x)", rhs: "Axel.Utils.Debug.unsafeTeeS' f x"}
- warn: {lhs: "unsafeTee x", rhs: "x"}
- warn: {lhs: "unsafeTeeS x", rhs: "x"}
- warn: {lhs: "unsafeTee' f x", rhs: "x"}
- warn: {lhs: "unsafeTeeS' f x", rhs: "x"}
- warn: {lhs: "unsafeReportTime message x", rhs: "x"}