Skip to content

Commit

Permalink
[Fix #11312] Mark Style/ConcatArrayLiterals as unsafe
Browse files Browse the repository at this point in the history
Fixes #11312.

This commit marks `Style/ConcatArrayLiterals` as unsafe.
  • Loading branch information
koic committed Dec 21, 2022
1 parent 91fe2cf commit 8bb0c47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
@@ -0,0 +1 @@
* [#11312](https://github.com/rubocop/rubocop/issues/11312): Mark `Style/ConcatArrayLiterals` as unsafe. ([@koic][])
1 change: 1 addition & 0 deletions config/default.yml
Expand Up @@ -3429,6 +3429,7 @@ Style/CommentedKeyword:
Style/ConcatArrayLiterals:
Description: 'Enforces the use of `Array#push(item)` instead of `Array#concat([item])` to avoid redundant array literals.'
Enabled: pending
Safe: false
VersionAdded: '1.41'

Style/ConditionalAssignment:
Expand Down

0 comments on commit 8bb0c47

Please sign in to comment.