Nevermind, the styleguide is pretty explicit about this: GitHub - christopheradams/elixir_style_guide: A community driven style guide for Elixir · GitHub
List module attributes and directives in the following order:
- @moduledoc
- @behaviour
- use
- import
- alias
- require
- defstruct
- @type
- @module_attribute
- @callback
- @macrocallback
- @optional_callbacks
Add a blank line between each grouping, and sort the terms (like module names) alphabetically.






















