Skip to content
This repository was archived by the owner on Nov 7, 2023. It is now read-only.

s-capybara/uiar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uiar

Formats given source codes of Elixir to follow coding styles below:

  • Directives are grouped and ordered as use, import, alias and require.
  • Each group of directive is separated by an empty line.
  • Directives of the same group are ordered alphabetically.
  • If a directive handles multiple modules with {}, they are alphabetically ordered.

Files can be passed by command line arguments:

  mix uiar mix.exs "lib/**/*.{ex,exs}" "test/**/*.{ex,exs}"

If no arguments are passed, they are taken from inputs of .formatter.exs. If --check-formatted option is given, it doesn't modify files but raises an error if not formatted yet.

Installation

mix.exs

def deps do
  [
    {:uiar, "~> 0.1.0", runtime: false, only: [:dev]}
  ]
end

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages