Closed nicholasjhenry closed 5 years ago
https://coderwall.com/p/jp7d5q/create-a-global-git-commit-hook
.credo.exs
Dockerfile
git diff --color=always|perl -wlne 'print $1 if /^\e\[32m\+\e\[m\e\[32m(.*)\e\[m$/' | docker-compose exec -T application mix credo --format=flycheck --read-from-stdin
Dependent on: https://github.com/civilcode/acme-platform/issues/109
Dependent on https://github.com/civilcode/acme-platform/issues/109
Handled by:
https://github.com/civilcode/civil-credo
https://coderwall.com/p/jp7d5q/create-a-global-git-commit-hook
.credo.exs
fileDockerfile
git diff --color=always|perl -wlne 'print $1 if /^\e\[32m\+\e\[m\e\[32m(.*)\e\[m$/' | docker-compose exec -T application mix credo --format=flycheck --read-from-stdin
Dependent on: https://github.com/civilcode/acme-platform/issues/109