Skip to content

Commit d95b0f5

Browse files
committed
style: reintroduce styler
Styler 1.11 release in march should no longer break compilation of our code. Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
1 parent 83e86da commit d95b0f5

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

backend/.formatter.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
:skogsra,
1515
:nimble_parsec
1616
],
17-
plugins: [Spark.Formatter],
17+
plugins: [Spark.Formatter, Styler],
1818
inputs: ["*.{ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{ex,exs}"],
1919
subdirectories: ["priv/*/migrations"],
2020
locals_without_parens: [

backend/mix.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ defmodule Edgehog.MixProject do
135135
{:absinthe_phoenix, "~> 2.0"},
136136
{:mix_audit, "~> 2.1", only: [:dev, :test], runtime: false},
137137
{:sobelow, "~> 0.14", only: [:dev, :test], runtime: false},
138-
{:ex_doc, "~> 0.40", only: :dev}
138+
{:ex_doc, "~> 0.40", only: :dev},
139+
{:styler, "~> 1.11", only: [:dev, :test], runtime: false}
139140
]
140141
end
141142

0 commit comments

Comments
 (0)