Skip to content

Commit

Permalink
Replace references to Dogma with references to Credo
Browse files Browse the repository at this point in the history
Dogma has been deprecated in favor of `mix format`. Credo, which is a
library for static code analysis geared more towards coding style
improvements rather than enforcing a style guide, makes more sense
as an example in the documentation.
  • Loading branch information
mikowitz authored and lpil committed Dec 6, 2022
1 parent 345bf7d commit 2686567
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ Start hacking :)
## Running Additional Mix Tasks

Through the mix config it is possible to run other mix tasks as well as the
test task. For example, if I wished to run the [Dogma][dogma] code style
linter after my tests I would do so like this.
test task. For example, if I wished to run the [Credo][credo] code analysis
tool after my tests I would do so like this.

[dogma]: https://github.com/lpil/dogma
[credo]: https://github.com/rrrene/credo

```elixir
# config/config.exs
Expand All @@ -79,7 +79,7 @@ if Mix.env == :dev do
config :mix_test_watch,
tasks: [
"test",
"dogma",
"credo",
]
end
```
Expand Down

0 comments on commit 2686567

Please sign in to comment.