From 074e7d8f231ace1b87e8f7a76e073f5592acd589 Mon Sep 17 00:00:00 2001 From: Ben Gamari <ben@smart-cactus.org> Date: Fri, 17 May 2024 11:31:29 -0400 Subject: [PATCH] fourmolu: Add configuration --- fourmolu.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 fourmolu.yaml diff --git a/fourmolu.yaml b/fourmolu.yaml new file mode 100644 index 00000000000..39acb7d22c9 --- /dev/null +++ b/fourmolu.yaml @@ -0,0 +1,11 @@ +indentation: 2 +comma-style: leading # for lists, tuples etc. - can also be 'leading' +import-export-style: leading +record-brace-space: false # rec {x = 1} vs. rec{x = 1} +indent-wheres: true # 'false' means save space by only half-indenting the 'where' keyword +respectful: true # don't be too opinionated about newlines etc. +haddock-style: single-line # '--' vs. '{-' +newlines-between-decls: 1 # number of newlines between top-level declarations +fixities: [] +function-arrows: leading +single-constraint-parens: never -- GitLab