forked from restyled-io/restyler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
brittany.yaml
62 lines (57 loc) · 1.63 KB
/
brittany.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
conf_version: 1
conf_errorHandling:
# Attempt to exact-print unknown things
econf_ExactPrintFallback: ExactPrintFallbackModeRisky
conf_layout:
# 4-space indent, avoid context-aware anything
lconfig_indentAmount: 4
lconfig_indentPolicy: IndentPolicyLeft
lconfig_columnAlignMode: { tag: ColumnAlignModeDisabled }
# Don't style imports; stylish haskell does that (and better). Also disables
# styling exports, which I could take or leave, but since it's a single
# configuration key, we have to turn it off.
lconfig_reformatModulePreamble: false
conf_preprocessor:
# At least attempt to deal with CPP
ppconf_CPPMode: CPPModeWarn
ppconf_hackAroundIncludes: true
# N.B. must be kept in sync with package.yaml
conf_forward:
options_ghc:
- -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