ruby-syntax-tree / syntax_tree

Interact with the Ruby syntax tree
https://ruby-syntax-tree.github.io/syntax_tree/
MIT License
563 stars 54 forks source link

Mention `write` from the `format` command in README #416

Open rattrayalex opened 10 months ago

rattrayalex commented 10 months ago

When trying to figure out how to format a new Ruby project, we were choosing between @prettier/plugin-ruby, this project, and Rufo.

At first, we thought this project didn't have built-in support for writing to disk at all, so we almost switched to Rufo (or prettier-ruby, despite that library's admonition to use this gem). Only when I said, "no, Kevin wouldn't ship a library like this without a --write facility!" did we keep scrolling and find the write command.