I have some code where I want to exclude a cop in a very specific chunk of code. So I added the line:
# rubocop:disable NonNilCheck
And reflexively saved. After that any time I pressed RETURN, I get the console popping up with the above error message. I tried reducing it to a very simple repro, but so far I haven't been able to reproduce it except within a larger chunk of code.
I have some code where I want to exclude a cop in a very specific chunk of code. So I added the line:
And reflexively saved. After that any time I pressed RETURN, I get the console popping up with the above error message. I tried reducing it to a very simple repro, but so far I haven't been able to reproduce it except within a larger chunk of code.
The error is in violation-view.coffee:97