Closed miolab closed 3 years ago
Docs https://hexdocs.pm/credo/overview.html GitHub https://github.com/rrrene/credo
Install (mix.exs)
mix.exs
defp deps do [ .... {:credo, "~> 1.5", only: [:dev, :test], runtime: false} # --> add .... ] end
Run
$ docker-compose run --rm app bash -c "cd my_app && mix credo" $ docker-compose run --rm app bash -c "cd my_app && mix deps.get"
Docs https://hexdocs.pm/git_hooks/readme.html GitHub https://github.com/qgadrian/elixir_git_hooks
defp deps do [ .... {:git_hooks, "~> 0.5.0", only: [:test, :dev], runtime: false} .... ] end
$ docker-compose run --rm app bash -c "cd my_app && mix deps.get && mix.deps compile" $ docker-compose run --rm app bash -c "cd my_app && mix git_hooks.install"
git_hooks参考 https://github.com/miolab/phoenix_local_playground_no_ecto/pull/23
入れたもの
Credo
Docs https://hexdocs.pm/credo/overview.html GitHub https://github.com/rrrene/credo
Install (
mix.exs
)Run
入れなかったもの
GitHooks (Elixir ver.)
Docs https://hexdocs.pm/git_hooks/readme.html GitHub https://github.com/qgadrian/elixir_git_hooks
husky (Elixir) https://hex.pm/packages/husky