Skip to content

Commit

Permalink
Revert Rubocop splat expansion cop (#1461)
Browse files Browse the repository at this point in the history
This commit reverses the change made in #1451 and changes the name of
the cop back to `UnneededSplatExpansion`.

The reason to do this is that Rouge supports versions of Ruby from 2.0
and this prevents upgrading our development dependencies to a newer
version of RuboCop (RuboCop ended support for versions prior to v2.3
with RuboCop v0.50). The renamed cop was not introduced until RuboCop 
v0.76.

Dropping support for older versions of Ruby may be implemented as part
of Rouge v4.0 but it won't occur as part of v3.0.
  • Loading branch information
pyrmont committed Mar 24, 2020
1 parent 81b3671 commit 5f4b818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .rubocop.yml
Expand Up @@ -38,7 +38,7 @@ Lint/EndAlignment:
Lint/EmptyWhen:
Enabled: false

Lint/RedundantSplatExpansion:
Lint/UnneededSplatExpansion:
Enabled: false

Lint/IneffectiveAccessModifier:
Expand Down

0 comments on commit 5f4b818

Please sign in to comment.