elixir-pre-commit icon indicating copy to clipboard operation
elixir-pre-commit copied to clipboard

✅ Pre-commit hooks for Elixir projects

Results 6 elixir-pre-commit issues
Sort by recently updated
recently updated
newest added

I just git cloned the https://github.com/dwyl/elixir-auth-github project and ran `mix deps.get` followed by `mix test` and got the following warning/error: ![image](https://user-images.githubusercontent.com/194400/71473657-c8df1c80-27cf-11ea-85b8-63a32486c620.png) ``` You have configured application :pre_commit in your configuration...

help wanted
question
chore
starter

I've come across this when testing the hooks, the line trying to pop the stash expects a `0` return code. If there are no changes to stash pop, this fails.

please-test

I'm not sure how we can work around our script overwriting existing pre-commit hooks, but I thought it worth opening this issue for ideas and discussion :blush:

help wanted
discuss

When I tried updating to 0.3.4, the pre-commit hook started restoring files I had deleted. Using `git stash push --keep-index` as in #30 restores deleted files to the working tree:...

wontfix

We need to work out how to re-compile the pre_commit task when the config changes. Example: A user sets up pre_commit for a project with just `test` in the config....

bug
help wanted
discuss

This is may not be directly related to the project, but I figure others could wind up in a similar pickle, and I haven't been able to find a solution...