prettier-ruby
prettier-ruby copied to clipboard
Prettier for ruby
Comments
Raising this is as a separate issue to keep track of it: https://github.com/iamsolankiamit/prettier-ruby/pull/4#discussion_r192064062 ### Input ```ruby def symbols %i( a b c d ) end symbols ``` ### Current output...
Consider the following JavaScript which has been input into Prettier. Note that the developer has logically grouped together certain variables with deliberate use of whitespace: ```javascript logicalGrouping1 = 10 logicalGrouping2...
### Input Ruby 2.3 supports the following syntax: ```ruby documentation =
Rails in particular has a lot of class methods within its API. I'm not massively opinionated here, but perhaps the convention should be to drop brackets on method calls within...
I imagine this syntax isn't used often, but the following syntax is not currently supported by prettier-ruby: ```ruby ::Foo::Bar = self ``` Current Output: ```ruby {"ast_type":"const_path_field","error":"Unhandled node within astexport.rb: const_path_field"}...