Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[Fix #7332] Update doc for `Style/FrozenStringLiteralComment` #7334
This PR updates a description to Ruby version where frozen string literals will be introduced.
AFAIK, matz has not given up the possibility of defaulting to a frozen string in the future. In Ruby 3.0, matz was abandant for changing it because there were not enough tools to prevent destructive changes (I heard that at RubyKaigi 2019 and RubyConf Taiwan 2019).
Frozen string literals are being introduced around Ruby.
So this cop remains enabled by default.
Before submitting the PR make sure the following are checked: