we recently added “# frozen_string_literal: true” as a rule to rubocop.
There are benefits to this but I think the process is too time consuming.
Step 1 - make a PR and forget about the magic comment
Step 2 - look at code climate and see the comment is missing
Step 3 - add comment to file/files, commit and push
Step 4 - verify code climate is clear
This will need to be repeated for hundreds of files… I think this is too much time.
What do you guys think?
I see 4 options:
A - disable the rule for now
B - keep the rule but allow ourselves to ignore this rule if we want
C - keep the rule but make an issue to add the comment to most files in one go
D - where we are now, keep the rule and add comment to individual files as we change them
I dont think this is important enough for the time/effort it takes. So I vote for option A, or if the group decides to keep the rule, I’d go for option B.