Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 580 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 580 Bytes

Elixir

Sample

  • Avoid macros
  • Don't separate multiple declarations of functions of the same name with newlines.
  • Indent pipes by two spaces when using the match operator (=).
  • Don't indent pipes when not using the match operator (=).
  • Prefer pattern matching and guards in function definitions over conditionals in the function body.
  • Break long lines after 100 characters.
  • Order the dependencies of a module as: use, import, alias.
  • Put an empty line between each type of dependency.
  • Sort the dependencies in each section alphabetically.