elixir-sippet
elixir-sippet copied to clipboard
update credo
Attempting to compile the project using Elixir 1.18 and OTP 27 results in the following error:
==> credo
Compiling 253 files (.ex)
== Compilation error in file lib/credo/check/config_comment_finder.ex ==
** (Regex.CompileError) invalid range in character class at position 16
(elixir 1.18.4) lib/regex.ex:254: Regex.compile!/2
lib/credo/check/config_comment_finder.ex:9: (module)
could not compile dependency :credo, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile credo --force", update it with "mix deps.update credo" or clean it with "mix deps.clean credo"
This was fixed in credo v1.7.11. Using v1.7.12 should bring compatibility with Elixir 1.19 as well.
After making this change the project compiles as expected.