erb-formatter
erb-formatter copied to clipboard
Format ERB files with speed and precision
Added exclamation point as exception for attr name matching (i.e does not match "!="), so that the javascript "!=" operator is not flagged as a tag attribute.
Hi there! :) I *love* that you're working on this - it's something my team has needed for a long long time. Reaching out because we use [`erb-lint`](https://github.com/Shopify/erb-lint), as well...
I installed the VS Code extension[1] after seeing this in the README here: > Features: > * very fast It takes ~1.7 seconds to format a single 33 lines of...
Fixes https://github.com/nebulab/erb-formatter/issues/43
Hi, First of all: Thank you for this awesome tool. I love how easy it was to setup and how great it works and formats! Just a small problem: As...
Hey, I have a rather complex form like this: https://gist.github.com/luizkowalski/6b90e9cf978927a6faca15258f7c7a24 this page was formatted using htmlbeautifier. When I try to format it with erb-formatter, it groups `end` together in a...
I want to use a tool called "erb-format" to format all my `*.html.erb` and `*.turbo_stream.erb` files. The issue is, it supports globs just poorly. One would need to run the...
After running erb-formatter, I see this case a couple of times in the diff: As you can see, the block within turbo_frame_tag is being lost
A bit like rubocop, I'd like CI to flag pull requests that do not have .erb files already formatted, and fail the build. I tried sendin `erb-format`'s output to /dev/null,...
It would be great if `erb-formatter` were a Prettier plugin `@prettier/plugin-erb`. This would free you from having to maintain the `Ruby ERB::Formatter` VS Code plugin and free users from installing...