I ran into same issue but using https://github.com/rubocop/rubocop I looked at the "DETAILS" section.
fixed it with vscode user settings.json file
"rubocop.mode": "enableViaGemfile",