Merge pull request #10033 from bacchanalia/8963
[cabal.git] / fourmolu.yaml
blob40b1e42207b9d073dd60a021d3bad087a2613340
1 indentation: 2
2 comma-style: leading # for lists, tuples etc. - can also be 'trailing'
3 import-export-style: leading
4 record-brace-space: false # rec {x = 1} vs. rec{x = 1}
5 indent-wheres: true # 'false' means save space by only half-indenting the 'where' keyword
6 respectful: true # don't be too opinionated about newlines etc.
7 haddock-style: single-line # '--' vs. '{-'
8 haddock-style-module: single-line
9 newlines-between-decls: 1 # number of newlines between top-level declarations
10 function-arrows: leading
11 single-constraint-parens: never
12 in-style: right-align
13 let-style: auto
15 fixities:
16   # Distribution.Compat.Parsing
17   - infixr 0 <?>
18   # Distribution.FieldGrammar
19   - infixl 5 ^^^
20   # Distribution.Types.InstalledPackageInfo.FieldGrammar
21   - infixl 4 <@>
23 reexports:
24   - module Distribution.Client.Compat.Prelude exports Distribution.Compat.Prelude.Internal
25   - module Distribution.Compat.Prelude.Internal exports Distribution.Compat.Prelude
26   - module Distribution.Compat.Prelude exports Prelude
27   - module Distribution.Compat.Prelude exports Control.Applicative