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
Enable Style/FrozenStringLiteralComment in rubocop #1256
Enable Style/FrozenStringLiteralComment in rubocop #1256
Conversation
.rubocop.yml
Outdated
EnforcedStyle: always | ||
Exclude: | ||
- 'example/**/*' | ||
- 'test/builder/**/*' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this rule disabled on tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rafaelfranca Thanks for the comment. You're right. It doesn't need to set Exclude
. So I've removed it and added frozen_string_literal
comments to all files.
e16cfcb
to
7ef0b4f
Compare
Summary
Style/FrozenStringLiteralComment
in rubocop, and executed auto-correct.Rack::RewindableInput
Layout/LeadingCommentSpace
in rubocop, and executed