Open huda-kh opened 3 months ago
I have this block of code:
<%= f.input :freight_country, required: true, wrapper_html: { class: 'form--medium' }, input_html: { class: 'country-input' }, prompt: "Please select", collection: ISO3166::Country.all.reject { |c| c.alpha2 == 'AU' }, value_method: lambda(&:alpha2), # erblint: disable Naming/VariableNumber label_method: ->(country) { country.translations["en"] } %>
and I need to disable Naming/VariableNumber for the line before last but appending # erblint: disable Naming/VariableNumber to it is not doing it. Any ideas?
Naming/VariableNumber
# erblint: disable Naming/VariableNumber
I have this block of code:
and I need to disable
Naming/VariableNumber
for the line before last but appending# erblint: disable Naming/VariableNumber
to it is not doing it. Any ideas?