From 5f4b818296a468bd70da59a73cb7127aaf8d7ef9 Mon Sep 17 00:00:00 2001 From: Michael Camilleri Date: Wed, 25 Mar 2020 04:54:42 +0900 Subject: [PATCH] Revert Rubocop splat expansion cop (#1461) 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. --- .rubocop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index 5a0fb09ed8..35f4bd7567 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -38,7 +38,7 @@ Lint/EndAlignment: Lint/EmptyWhen: Enabled: false -Lint/RedundantSplatExpansion: +Lint/UnneededSplatExpansion: Enabled: false Lint/IneffectiveAccessModifier: