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
When using format on save, rubocop seems to run with --autocorrect option, but some people might want to use --autocorrect-all (for example frozen_string_literal comment is not added on safe autocorrect)
Description
Add an option to set --autocorect-all
Implementation
Could be a text field for rubocop options or a boolean for rubocopAutocorrectAll
The text was updated successfully, but these errors were encountered:
Thank you for the feature suggestion! This is a duplicate of #704, so I'm going to close in favour of that one to keep discussions centralized.
Because the Ruby LSP supports multiple formatters/linters, I think we need to expose a generic configuration for "linter/formatter flags" that people can use to configure their specific linter however they prefer.
This feature is VS Code specific
Use case
When using format on save, rubocop seems to run with
--autocorrect
option, but some people might want to use--autocorrect-all
(for example frozen_string_literal comment is not added on safe autocorrect)Description
Add an option to set --autocorect-all
Implementation
Could be a text field for rubocop options or a boolean for
rubocopAutocorrectAll
The text was updated successfully, but these errors were encountered: