Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 620 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 620 Bytes

Dockerized Credo

Based on platformatec/engine-credo.

Lint your elixir code with:

docker run --rm -v $(PWD):/home/credo/code -t renderedtext/credo

Lint only one file:

docker run --rm -v $(PWD):/home/credo/code -t renderedtext/credo mix credo <file-path>

Explain reason of failure:

docker run --rm -v $(PWD):/home/credo/code -t renderedtext/credo mix credo explain <file-path>

As a makefile target:

lint:
  docker run --rm -v $(PWD):/home/credo/code -t renderedtext/credo

TODOS

  • Continuous delivery