Skip to content

Commit

Permalink
Mark Lint/FrozenStringLiteralComment as Safe, but with unsafe aut…
Browse files Browse the repository at this point in the history
…o-correction.
  • Loading branch information
marcandre authored and mergify[bot] committed Aug 14, 2020
1 parent 2bff941 commit 1d2659a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -18,6 +18,7 @@
* [#8362](https://github.com/rubocop-hq/rubocop/issues/8362): Add numbers of correctable offenses to summary. ([@nguyenquangminh0711][])
* [#8513](https://github.com/rubocop-hq/rubocop/pull/8513): Clarify the ruby warning mentioned in the `Lint/ShadowingOuterLocalVariable` documentation. ([@chocolateboy][])
* [#8517](https://github.com/rubocop-hq/rubocop/pull/8517): Make `Style/HashTransformKeys` and `Style/HashTransformValues` aware of `to_h` with block. ([@eugeneius][])
* [#8529](https://github.com/rubocop-hq/rubocop/pull/8529): Mark `Lint/FrozenStringLiteralComment` as `Safe`, but with unsafe auto-correction. ([@marcandre][])

## 0.89.1 (2020-08-10)

Expand Down
2 changes: 1 addition & 1 deletion config/default.yml
Expand Up @@ -3033,7 +3033,7 @@ Style/FrozenStringLiteralComment:
# `never` will enforce that the frozen string literal comment does not
# exist in a file.
- never
Safe: false
SafeAutoCorrect: false

Style/GlobalStdStream:
Description: 'Enforces the use of `$stdout/$stderr/$stdin` instead of `STDOUT/STDERR/STDIN`.'
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/cops_style.adoc
Expand Up @@ -3259,7 +3259,7 @@ format('%s', 'Hello')
| Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged

| Enabled
| No
| Yes
| Yes (Unsafe)
| 0.36
| 0.79
Expand Down

0 comments on commit 1d2659a

Please sign in to comment.