Skip to content

Commit

Permalink
Allow @doc_ module attributes beofre moduledoc
Browse files Browse the repository at this point in the history
  • Loading branch information
sorentwo committed Jun 25, 2024
1 parent da9b573 commit 7be64ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .credo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
#
# Controversial and experimental checks (opt-in, just replace `false` with `[]`)
#
{Credo.Check.Readability.StrictModuleLayout, []},
{Credo.Check.Readability.StrictModuleLayout, ignore_module_attributes: ~w(doc_header doc_footer)a},
{Credo.Check.Consistency.MultiAliasImportRequireUse, false},
{Credo.Check.Consistency.UnusedVariableNames, false},
{Credo.Check.Design.DuplicatedCode, false},
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@

---

_Note: This README is for the unreleased main branch, please reference the
[official documentation on hexdocs][hexdoc] for the latest stable release._
> [!NOTE]
>
> This README is for the unreleased main branch, please reference the
> [official documentation on hexdocs][hexdoc] for the latest stable release.
[hexdoc]: https://hexdocs.pm/oban/Oban.html

Expand Down

0 comments on commit 7be64ef

Please sign in to comment.