forked from restyled-io/restyler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.hlint.yaml
49 lines (48 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
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:
# I find this hint is overwhelmingly false-positives
name: Reduce duplication
- ignore:
# It's common to leave a redundant do in spec, describe, it to reduce diff
# noise when specifications, contexts, and examples are inevitably added.
name: Redundant do
within: spec
# N.B. must be kept in sync with package.yaml
- arguments:
- -XBangPatterns
- -XBinaryLiterals
- -XConstraintKinds
- -XDataKinds
- -XDefaultSignatures
- -XDeriveDataTypeable
- -XDeriveFoldable
- -XDeriveFunctor
- -XDeriveGeneric
- -XDeriveTraversable
- -XDerivingStrategies
- -XDoAndIfThenElse
- -XEmptyDataDecls
- -XExistentialQuantification
- -XFlexibleContexts
- -XFlexibleInstances
- -XFunctionalDependencies
- -XGADTs
- -XGeneralizedNewtypeDeriving
- -XInstanceSigs
- -XKindSignatures
- -XMultiParamTypeClasses
- -XMultiWayIf
- -XNamedFieldPuns
- -XNoImplicitPrelude
- -XOverloadedStrings
- -XPartialTypeSignatures
- -XPatternGuards
- -XPolyKinds
- -XRankNTypes
- -XRecordWildCards
- -XScopedTypeVariables
- -XStandaloneDeriving
- -XTupleSections
- -XTypeFamilies
- -XTypeSynonymInstances
- -XViewPatterns