Lint/OrderedMagicComments reports at line is not a magic comment · Issue #6115 · rubocop/rubocop

Expected behavior Given the following code: # frozen_string_literal: true x = { encoding: Encoding::SJIS } puts x I expect RuboCop to throw no error. Because line 3 is not a magic comment. Actual b...