openSUSE/trollolo

rubocop Style/FrozenStringLiteralComment offence

Closed this issue · 7 comments

Rubocop is failing because of "Style/FrozenStringLiteralComment: Missing magic comment # frozen_string_literal: true"

@Ana06 Travis is not showing any such offence but in my local it is showing 69 offences. 😕

Ana06 commented

how are you running rubocop? there should be something different between travis and your local setup 🤔

sss
@Ana06 I am using the same command as mentioned

Ana06 commented

@rahul2240

What Ruby version are you using? ruby --version

can you also check that the rubocop version is the correct one? bundle exec "rubocop -V"

I am using ruby 2.4.0p0
also my rubocop version is 0.52.1

Ana06 commented

@rahul2240 is that issue fixed? 🤔