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
Hi,
is there a possibility to show some rubocop warning but ignore them for formatting? I had a problem with
Lint/UselessAssignment
which was removing the useless assignments when I saved the code.
To fix that I set it to false in my .rubocop.yaml
But I would like to see the warning inside my editor but because I save quite often I would like to disable this option for formatting.
Is this possible?
Greetings and thx
Alex
The text was updated successfully, but these errors were encountered:
Modifying the Rubocop config file looks like the right option. I confirmed that I could enable a cop and disable its AutoCorrect setting so the warning appeared in the editor but formatting didn't change it.
Hi,
is there a possibility to show some rubocop warning but ignore them for formatting? I had a problem with
Lint/UselessAssignment
which was removing the useless assignments when I saved the code.
To fix that I set it to false in my .rubocop.yaml
But I would like to see the warning inside my editor but because I save quite often I would like to disable this option for formatting.
Is this possible?
Greetings and thx
Alex
The text was updated successfully, but these errors were encountered: