forked from ekmett/lens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.hlint.yaml
25 lines (23 loc) · 1.36 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
- arguments: [--cpp-define=HLINT, --cpp-ansi, --cpp-include=include]
- ignore: {name: Reduce duplication}
- ignore: {name: Redundant lambda}
- ignore: {name: Use >=>}
- ignore: {name: Use const}
- ignore: {name: Use module export list}
- ignore: {name: Use lambda-case}
- ignore: {name: Use tuple-section}
- ignore: {name: Use fewer imports}
- ignore: {name: "Use :"}
- ignore: {name: Use typeRep, within: [Control.Lens.Internal.Typeable, Control.Lens.Internal.Exception]}
- ignore: {name: Eta reduce, within: [Control.Lens.Zoom]} # Breaks code
- ignore: {name: Use camelCase, within: [Control.Lens.Internal.TH]}
- ignore: {name: Use list comprehension, within: [Control.Lens.Internal.FieldTH]}
- fixity: "infixl 9 :>"
- fixity: "infixr 9 <.>, <., .>, ..."
- fixity: "infixr 9 #."
- fixity: "infixl 8 ^.., ^?, ^?!, ^@.., ^@?, ^@?!, ^., ^@., ^#, .#"
- fixity: "infixr 8 ^!, ^@!"
- fixity: "infixr 4 </>~, <</>~, <.>~, <<.>~, <#~, #~, #%~, <#%~, #%%~, .|.~, .&.~, <.|.~, <.&.~, %@~, .~, +~, *~, -~, //~, ^~, ^^~, **~, &&~, <>~, ||~, %~, %%@~, <%@~, %%~, <+~, <*~, <-~, <//~, <^~, <^^~, <**~"
- fixity: "infix 4 </>=, <</>=, <.>=, <<.>=, <#=, #=, #%=, <#%=, #%%=, .|.=, .&.=, <.|.=, <.&.=, %@=, .=, +=, *=, -=, //=, ^=, ^^=, **=, &&=, <>=, ||=, %=, %%@=, <%@=, %%=, <+=, <*=, <-=, <//=, <^=, <^^=, <**="
- fixity: "infixr 2 `zoom`, `magnify`, <~, <<~"
- fixity: "infixl 1 &, &~, <&>, ??"