• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

elixir-alphabetize

Alphabetizes alias, require, use at the top of an elixir file
mkaplan9
0.3.0 333
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

elixir-alphabetize

Alphabetizes alias, require, use, and import statements at the top of an elixir file

Packages -> elixir-alphabetize -> Beautify

Example

defmodule MyApp.MyController do
  import MyThing
  use MyOtherThing
  alias MyApp.User
  alias MyApp.Organization
  @moduledoc """
  """

becomes

defmodule MyApp.MyController do
  alias MyApp.Organization
  alias MyApp.User
  import MyThing
  use MyOtherThing
  @moduledoc """
  """

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by