-
Notifications
You must be signed in to change notification settings - Fork 274
/
.hlint.yaml
22 lines (20 loc) · 1.17 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
- arguments: [-XCPP, --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.At, Control.Lens.Zoom, Control.Lens.Equality, Control.Lens.Traversal]} # Breaks code
- ignore: {name: Use id, within: [Control.Lens.Equality]}
- ignore: {name: Use camelCase, within: [Control.Lens.Internal.TH]}
- ignore: {name: Use list comprehension, within: [Control.Lens.Internal.FieldTH]}
- ignore: {name: Use fmap, within: [Control.Exception.Lens, Control.Lens.Internal.Zoom, Control.Lens.Zoom, Control.Lens.Indexed, Control.Lens.Fold, Control.Monad.Error.Lens,Control.Lens.Setter]} # Needed to support pre-AMP GHC-7.8
- ignore: {name: Use uncurry}
- ignore: {name: Fuse concatMap/<&>, within: [Control.Lens.Internal.FieldTH]}
- fixity: "infixr 9 ..."
- fixity: "infixl 1 &~"