{"repo":"ruby-formatter/rufo","free":true,"listed":false,"github":"https://github.com/ruby-formatter/rufo","clone":"git clone https://github.com/ruby-formatter/rufo.git","description":"The Ruby Formatter","language":"Ruby","stars":939,"topics":["ruby","formatter"],"license":"MIT","category":"dev-tools","readme_excerpt":"Rufo Ru by fo rmatter Rufo is as an opinionated ruby formatter, intended to be used via the command line as a text-editor plugin, to autoformat files on save or on demand. Unlike the best known Ruby formatter RuboCop, Rufo offers little in the way of configuration. Like other language formatters such as gofmt, prettier, and autopep8, we strive to find a \"one true format\" for Ruby code, and make sure your code adheres to it, with zero config where possible. RuboCop does much more than just format code though, so feel free to run them both! Rufo supports all Ruby versions = 3.0.0. Installation Add this line to your application's Gemfile: And then execute: $ bundle Or install it system wide with: $ gem install rufo Editor support Once the gem is installed, enable format on save integration in your editor of choice with the following libraries: - Atom: rufo-atom :construction: - Emacs emacs-rufo :construction: or rufo.el or run rufo with reformatter - Sublime Text: sublime-rufo - Vim: rufo-vim - Visual Studio Code: vscode-rufo or rufo-vscode If you're interested in developing your own plugin check out the development docs. Did you already write a plugin? That's great! Let us know about it and we will list it here. Unobtrusive by default We Ruby programmers think code beauty and readability is very important. We might align code in some ways that a formatter would come and destroy. Many are against automatic code formatters for this reason. By default, Rufo is configured in a way ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ruby-formatter","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ruby-formatter/rufo/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."}