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
{{ message }}
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
I have the rubocop and rubocop-rails gems installed. .rubocop.yml file has require: rubocop-rails string. Rails cops work fine in console and in VSCode.
Creating a file:
classUser < ApplicationRecordhas_many:messagesend
If I run the rubocop from the console I see the cop as expected:
Rails/HasManyOrHasOneDependent: Specify a :dependent option.
It should warn about this in VSCode too.
Actual behavior
Linter is being run, but the line with the cop stays w/o any error indication. If I add other problematic lines, they get underlined just fine.
The text was updated successfully, but these errors were encountered:
Your environment
vscode-ruby
version: v0.28.1Expected behavior
I have the rubocop and rubocop-rails gems installed.
.rubocop.yml
file hasrequire: rubocop-rails
string. Rails cops work fine in console and in VSCode.Creating a file:
If I run the rubocop from the console I see the cop as expected:
It should warn about this in VSCode too.
Actual behavior
Linter is being run, but the line with the cop stays w/o any error indication. If I add other problematic lines, they get underlined just fine.
The text was updated successfully, but these errors were encountered: