Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Emacs style frozen string literal comment check #6380

Merged
merged 1 commit into from Oct 12, 2018

Commits on Oct 12, 2018

  1. Fix Emacs style frozen string literal comment check

    Emacs style + hyphen delimited frozen literal comment(`-*- frozen-string-literal: true -*-`)
    is a valid comment.
    Ref: https://github.com/ruby/ruby/blob/0cb0835581de93f97861e38acf6ae338ad49f8b5/test/ruby/test_literal.rb#L149-L152
    
    But RuboCop does not recognize this comment currently.
    This fix allows using that format comment.
    y-yagi committed Oct 12, 2018
    Copy the full SHA
    946a26b View commit details
    Browse the repository at this point in the history