Title: Weird chained method call block indent · Issue #1426 · prettier/plugin-ruby · GitHub
Open Graph Title: Weird chained method call block indent · Issue #1426 · prettier/plugin-ruby
X Title: Weird chained method call block indent · Issue #1426 · prettier/plugin-ruby
Description: Would've expected this: .foo .foo .long .string .ofactuallyreallylongtextgoeshere .baz .each do |thing| { bla: thing, blabla: thing, blablabla: thing, blablablabla: thing, } end To be: foo .foo .foo .long .string .ofactuallyreallylongtex...
Open Graph Description: Would've expected this: .foo .foo .long .string .ofactuallyreallylongtextgoeshere .baz .each do |thing| { bla: thing, blabla: thing, blablabla: thing, blablablabla: thing, } end To be: foo .foo .fo...
X Description: Would've expected this: .foo .foo .long .string .ofactuallyreallylongtextgoeshere .baz .each do |thing| { bla: thing, blabla: thing, blablabla: thing, blablablabla: thing, } end To be: foo .foo...
Opengraph URL: https://github.com/prettier/plugin-ruby/issues/1426
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Weird chained method call block indent ","articleBody":"Would've expected this:\r\n\r\n```\r\n .foo\r\n .foo\r\n .long\r\n .string\r\n .ofactuallyreallylongtextgoeshere\r\n .baz\r\n .each do |thing|\r\n {\r\n bla: thing,\r\n blabla: thing,\r\n blablabla: thing,\r\n blablablabla: thing,\r\n }\r\n end\r\n```\r\n\r\nTo be:\r\n\r\n```\r\n foo\r\n .foo\r\n .foo\r\n .long\r\n .string\r\n .ofactuallyreallylongtextgoeshere\r\n .baz\r\n .each do |thing|\r\n {\r\n bla: thing,\r\n blabla: thing,\r\n blablabla: thing,\r\n blablablabla: thing,\r\n }\r\n end\r\n\r\n```","author":{"url":"https://github.com/ekmartin","@type":"Person","name":"ekmartin"},"datePublished":"2024-02-10T08:20:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1426/plugin-ruby/issues/1426"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:538235d5-2f19-97d2-9e30-ce8c6a2f82d4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9E50:47EBB:5C393F6:7DCDA13:698D054E |
| html-safe-nonce | 7f8c09c7a90bcc2d4428436fedd0fd3378badfe0a5ee417ebc3bc1addd561442 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTUwOjQ3RUJCOjVDMzkzRjY6N0RDREExMzo2OThEMDU0RSIsInZpc2l0b3JfaWQiOiI2MzY2NDcxNDc5NjU1OTkwNjA2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c72eb67787edbf4cceb74da30870e157147d244da1c2c9ddcccac2421a92dc27 |
| hovercard-subject-tag | issue:2128218966 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/prettier/plugin-ruby/1426/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4b038ca846af50fa89178cfc4c1f71b00f9f01510c2cc75eb861a1a2cc6db66a/prettier/plugin-ruby/issues/1426 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4b038ca846af50fa89178cfc4c1f71b00f9f01510c2cc75eb861a1a2cc6db66a/prettier/plugin-ruby/issues/1426 |
| og:image:alt | Would've expected this: .foo .foo .long .string .ofactuallyreallylongtextgoeshere .baz .each do |thing| { bla: thing, blabla: thing, blablabla: thing, blablablabla: thing, } end To be: foo .foo .fo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ekmartin |
| hostname | github.com |
| expected-hostname | github.com |
| None | f2da95634bce8a94cfa4123788169bfabdf845fd1d790fbaaaaab09dcfebdf28 |
| turbo-cache-control | no-preview |
| go-import | github.com/prettier/plugin-ruby git https://github.com/prettier/plugin-ruby.git |
| octolytics-dimension-user_id | 25822731 |
| octolytics-dimension-user_login | prettier |
| octolytics-dimension-repository_id | 134440972 |
| octolytics-dimension-repository_nwo | prettier/plugin-ruby |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 134440972 |
| octolytics-dimension-repository_network_root_nwo | prettier/plugin-ruby |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c21843b18feba17d11efb1895a7db61e8672f2cf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width