From ce4fe103b995962b98165066b95b750f8e461594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20de=20Arriba?= Date: Sun, 17 May 2026 12:22:57 +0200 Subject: [PATCH] fix: Formatter config depending in Mix breaks formatter --- .formatter.exs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.formatter.exs b/.formatter.exs index af39ab7..a44e4fe 100644 --- a/.formatter.exs +++ b/.formatter.exs @@ -1,10 +1,6 @@ # Used by "mix format" locals_without_parens = [error_tracker_dashboard: 1, error_tracker_dashboard: 2] -# Parse SemVer minor elixir version from project configuration -# eg `"~> 1.15"` version requirement will yield `"1.15"` -[elixir_minor_version | _] = Regex.run(~r/([\d\.]+)/, Mix.Project.config()[:elixir]) - [ import_deps: [:ecto, :ecto_sql, :plug, :phoenix], inputs: ["{mix,.formatter,dev,dev.*}.exs", "{config,lib,test}/**/*.{heex,ex,exs}"], @@ -12,6 +8,6 @@ locals_without_parens = [error_tracker_dashboard: 1, error_tracker_dashboard: 2] locals_without_parens: locals_without_parens, export: [locals_without_parens: locals_without_parens], styler: [ - minimum_supported_elixir_version: "#{elixir_minor_version}.0" + minimum_supported_elixir_version: "1.15.0" ] ]