Open jvilk-stripe opened 2 years ago
This issue is fixed in https://github.com/LoranKloeze/vscode-ruby-rubocop-revived/issues/1 and published to the marketplace at https://marketplace.visualstudio.com/items?itemName=LoranKloeze.ruby-rubocop-revived. Thx for reporting!
This change makes the "Ruby: autocorrect by rubocop" command work even when Rubocop isn't the default formatter.
Before this change, if Rubocop is not the default formatter, running "Rubocop: autocorrect by rubocop" would run the default formatter and not Rubocop.
Now, this command manually applies Rubocop's autocorrects to the current document.
We are encountering this bug at Stripe and would love it if this fix could be merged and a new version of the extension released. :)