You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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, as well as standard throughout our project.
The fact that this formatted will autoformat is amazing - but I'm finding that it's clashing with our linting rules.
Is it possible for the formatting, for blocks of Ruby content, to possibly leverage another tool's rules? (ex: for erb-lint, we've configured it to use standardrb).
I suppose practically - is it possible to format based on erb-lint's ruleset?
Thanks for your help!
The text was updated successfully, but these errors were encountered:
Before settling on SyntaxTree I tried a few different formatters, including Rufo and Rubocop (Rubocop was especially slow for this use case hard to use for small snippets).
But if you're ok with slower times I'm happy to accept a PR extracting the ruby formatting code
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
, as well asstandard
throughout our project.The fact that this formatted will autoformat is amazing - but I'm finding that it's clashing with our linting rules.
Is it possible for the formatting, for blocks of Ruby content, to possibly leverage another tool's rules? (ex: for
erb-lint
, we've configured it to usestandardrb
).I suppose practically - is it possible to format based on
erb-lint
's ruleset?Thanks for your help!
The text was updated successfully, but these errors were encountered: