From 539bb56abaa80993a09ba19e201e60adce91374d Mon Sep 17 00:00:00 2001 From: Thanabodee Charoenpiriyakij Date: Thu, 1 Oct 2026 22:06:38 +0700 Subject: [PATCH] Add export locals_without_parens option This changeset makes DSL mix format formatting DSL code without parens. Signed-off-by: Thanabodee Charoenpiriyakij --- durable/.formatter.exs | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/durable/.formatter.exs b/durable/.formatter.exs index d2cda26..da888af 100644 --- a/durable/.formatter.exs +++ b/durable/.formatter.exs @@ -1,4 +1,21 @@ # Used by "mix format" [ - inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"] + inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"], + export: [ + locals_without_parens: [ + # Workflow DSL + workflow: 2, + workflow: 3, + # Step DSL + branch: 2, + compensate: 2, + compensate: 3, + decision: 2, + decision: 3, + parallel: 1, + parallel: 2, + step: 2, + step: 3 + ] + ] ]