{"repo":"adobe/elixir-styler","free":true,"listed":false,"github":"https://github.com/adobe/elixir-styler","clone":"git clone https://github.com/adobe/elixir-styler.git","description":"An @elixir-lang code-style enforcer that will just FIFY instead of complaining","language":"Elixir","stars":804,"topics":["elixir","formatter","styler"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"Styler Styler is an Elixir formatter plugin that goes beyond formatting by rewriting your code to optimize for consistency, readability, and performance. Features Styler's full feature documentation can be found on Hexdocs. Styler fixes a plethora of Elixir style and optimization issues automatically as part of mix format. The fastest way to see what all it can do you for you is to just try it out in your codebase... but here's a list of a few features to help you decide if you're interested in Styler: - sorts and organizes import , alias , require and other module directives - automatically creates aliases for repeatedly referenced modules names ( \"alias lifting\" ) and makes sure aliases you've defined are being used - keeps lists, sigils, and even arbitrary code sorted with the # styler:sort comment directive - optimizes pipe chains for readability and performance - rewrites deprecated Elixir standard library code, speeding adoption of new releases - auto-fixes many credo rules, meaning you can spend less time fighting with CI Refactoring Mix Tasks Styler also includes two experimental refactoring tasks: - mix styler.remove unused : deletes unused import alias require nodes that generate compiler warnings - mix styler.inline attrs : inlines module attributes that have a literal value and are only referenced once, removing unnecessary indirection Who is Styler for? I'm just excited to be on a team that uses Styler and moves on \\- Amos King Styler was designed for a large tea","default_branch":null,"files":null,"tree":[],"storefront":"/r/adobe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/adobe/elixir-styler/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."}