style: order module directives per StrictModuleLayout
This commit is contained in:
parent
6e50b91e51
commit
cbd37ecb2c
88 changed files with 225 additions and 155 deletions
|
|
@ -38,6 +38,10 @@ defmodule Mv.Membership.Email do
|
|||
@min_length 5
|
||||
@max_length 254
|
||||
|
||||
# These compile-time constants are referenced by the `use` options below, so
|
||||
# they must be declared first; StrictModuleLayout cannot be satisfied by
|
||||
# reordering here without breaking the macro expansion.
|
||||
# credo:disable-for-next-line Credo.Check.Readability.StrictModuleLayout
|
||||
use Ash.Type.NewType,
|
||||
subtype_of: :string,
|
||||
constraints: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue