{"repo":"WhatsApp/erlfmt","free":true,"listed":false,"github":"https://github.com/WhatsApp/erlfmt","clone":"git clone https://github.com/WhatsApp/erlfmt.git","description":"An automated code formatter for Erlang","language":"Erlang","stars":461,"topics":["erlang","formatter","rebar3-plugin"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"erlfmt erlfmt is an opinionated Erlang code formatter. By automating the process of formatting the code, it frees your team up to focus on what the code does, instead of what it looks like. erlfmt is feature complete and released as version 1.0 This means only backwards compatible changes and bug fixes can be adopted without very serious consideration. We do not want to put users in the position where they need to reformat code without a very good reason. Before Remember reading code before erlfmt and having arguments with co workers :( After Now, with the new erlfmt, code is readable and you get along with your co workers :D Disclaimer: erlfmt is just a code formatter, not a solution to all life's problems. Table of Contents - Comparison with other Erlang formatters - Usage - Line length - Design principles - Manual interventions - Respecting original format - Ignoring Formatting - Join the erlfmt community Comparison with other Erlang formatters erlfmt rebar3 format steamroller erl tidy --- --- --- --- --- File Types .erl, .hrl, .app, .app.src, .config, .script, .escript .erl, .hrl .erl, .hrl, .app, .app.src, .config, .script .erl Macros No crashes formatting OTP Skips entire files sometimes Skips entire files sometimes Crashes sometimes Comments Preserves and moves to line before Preserves but Floating Crashes sometimes and Reorders Crashes sometimes and Floating Configurable vs Opinionated Opinionated Configurable Opinionated Configurable Preserving Representation Yes Som","default_branch":null,"files":null,"tree":[],"storefront":"/r/WhatsApp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/WhatsApp/erlfmt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}