{"repo":"avh4/elm-format","free":true,"listed":false,"github":"https://github.com/avh4/elm-format","clone":"git clone https://github.com/avh4/elm-format.git","description":"elm-format formats Elm source code according to a standard set of rules based on the official Elm Style Guide","language":"Haskell","stars":1333,"topics":["elm","formatter","code-style"],"license":"BSD-3-Clause","category":"dev-tools","readme_excerpt":"elm-format elm-format formats Elm source code according to a standard set of rules based on the official Elm Style Guide. It is inspired by the popular gofmt. The benefits of elm-format : - It makes code easier to write , because you never have to worry about minor formatting concerns while powering out new code. - It makes code easier to read , because there are no longer distracting minor stylistic differences between different code bases. As such, your brain can map more efficiently from source to mental model. - It makes code easier to maintain , because you can no longer have diffs related only to formatting; every diff necessarily involves a material change. - It saves your team time debating how to format things, because there is a standard tool that formats everything the same way. - It saves you time because you don't have to nitpick over formatting details of your code. Usage Installation To install elm-format : or download the version appropriate for your OS from the release page, unzip it, and place elm-format or elm-format.exe (windows) on your PATH . You must run elm-format from the directory that contains your elm.json (for Elm 0.19) or elm-package.json (for Elm 0.18), or else you must pass the appropriate --elm-version=0.19 / --elm-version=0.18 command line argument. Editor integration Find your editor in the table below. The recommended plugin for each editor is indicated with :trophy: (trophy emoji). Editor Plugin Installation Formatting Format on save Confi","default_branch":null,"files":null,"tree":[],"storefront":"/r/avh4","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/avh4/elm-format/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."}