Linting 1 files with 16 linters...
Instance variable detected in partial.
In file: app/views/configuration/employers/_form.html.erb:195
It's nice that erblint warns me that, should I uncomment the code, it would trigger an issue, but is this expected behaviour? I would have expected erblint to ignore anything in comments. What if I wanted to use that comment to say what not to write?
When my
.erb-lint.yml
contains:and I have the following commented-out line in my
_form.html.erb
file:<%#= debug_json @employer.contracts %>
erblint app/views/configuration/employers/_form.html.erb
reports:It's nice that erblint warns me that, should I uncomment the code, it would trigger an issue, but is this expected behaviour? I would have expected erblint to ignore anything in comments. What if I wanted to use that comment to say what not to write?