Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto-correct for I18n/RailsI18n/DecorateString #56

Open
mathieujobin opened this issue Jul 27, 2021 · 1 comment
Open

auto-correct for I18n/RailsI18n/DecorateString #56

mathieujobin opened this issue Jul 27, 2021 · 1 comment

Comments

@mathieujobin
Copy link

I wish it would auto-correct my code to add the surrounding call to I18n.t()

Describe the solution you'd like
I have yet to look at which other cop that does this already, but I have a feeling we could take example for another cop that does this kind of auto-correct

Describe alternatives you've considered
doing it by hand, after all, I only have a few thousand places to update.

Additional context
N/A

@mathieujobin
Copy link
Author

Please? anyone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant