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
Currently when using the command pallett, the following is avaiable
Ruby: autocorrect by rubocop
Could we have a SAFE version of this (i.e. Ruby: autocorrect by rubocop) that run "rubocop --safe-auto-correct" instead of "rubocop --auto-correct" which may have unsafe changes?
The text was updated successfully, but these errors were encountered:
The behaviour of rubocop --auto-correct has changed (#123) in Rubocop such that this extension now only runs safe cops.
I've raised #127 to bring this "autocorrect all" behaviour back. But probably the ideal solution is to run --auto-correct by default as it currently does, with an option to run unsafe cops with --auto-correct-all.
Currently when using the command pallett, the following is avaiable
Ruby: autocorrect by rubocop
Could we have a SAFE version of this (i.e. Ruby: autocorrect by rubocop) that run "rubocop --safe-auto-correct" instead of "rubocop --auto-correct" which may have unsafe changes?
The text was updated successfully, but these errors were encountered: