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
ResolvesShopify#1449.
This PR applies `RuboCop::LSP.enable`, which is the minimal API for RuboCop to handle in the context of LSP:
https://docs.rubocop.org/rubocop/1.61/usage/lsp.html#language-server-development
Furthermore, `RuboCop::LSP.enable` method and `RuboCop::LSP` module were introduced in RuboCop 1.61.0.
This PR ensures compatibility with existing versions of RuboCop dependencies.
However, in older versions of RuboCop prior to 1.60, `AutoCorrect: contextual` behaves the same as `AutoCorrect: true`.
Resolves#1449.
This PR applies `RuboCop::LSP.enable`, which is the minimal API for RuboCop to handle in the context of LSP:
https://docs.rubocop.org/rubocop/1.61/usage/lsp.html#language-server-development
Furthermore, `RuboCop::LSP.enable` method and `RuboCop::LSP` module were introduced in RuboCop 1.61.0.
This PR ensures compatibility with existing versions of RuboCop dependencies.
However, in older versions of RuboCop prior to 1.60, `AutoCorrect: contextual` behaves the same as `AutoCorrect: true`.
I have checked that this feature is not already implemented
Use case
Helps to prevent unwanted autocorrections while writing code. This behaviour was recently added to RuboCop.
Description
See rubocop/rubocop#12657 for details.
Implementation
TBC
The text was updated successfully, but these errors were encountered: