mpalencia mpalencia - 1 year ago 149
Ruby Question

Disable frozen string literal comment checking

I'm newbie in Rails. I am using 'Rubocop' for checking standards, however I'm bothered with the way it checks the 'frozen string literal'. It keeps on saying on my files:

Missing frozen string literal comment.

Is there a way to disable the checking of this on rubocop? Or is it a bad idea to disable it?

I tried this on rubocop.yml but didn't work

frozen_string_literal: false

Answer Source

This one worked for me

  Enabled: false
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download