Is there a Rubocop command to auto-correct a specific file and then print the contents? #11617
Unanswered
joeldrapper
asked this question in
Q&A
Replies: 1 comment
-
Hi there. Seems like there is no option for this at the time without additional tools. The best solution without additional scripts would be something like this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’d like to configure Zed to run Rubocop auto-corrects when saving a file. It seems to use the output as the file contents, and I can get it working with this script but I’d love to find a way that doesn't require an extra script on each project.
Beta Was this translation helpful? Give feedback.
All reactions