From 21296835d3211993c62a40a604d929192d8d9824 Mon Sep 17 00:00:00 2001 From: Daniel Wright Date: Thu, 27 Feb 2020 10:43:04 -0800 Subject: [PATCH] Updated channel and documentation to Rubocop v0.80.0 (#225) * Updated channel and documentation to Rubocop v0.79.0 (#222) * Bumps 'rubocop' Dependency to v0.80.0 * Updates Scraped Documentation * Handles Edge-Case in Documentation Parsing Logic If a cop's documentation grows too long (e.g. Style/BlockDelimiters), it will run afoul of the Metrics/ClassLength cop, which will need to be disabled. This breaks the parsing. Adjusting the initial gsub's regexp pattern appears to resolve this edge-case. * Minor Delinting * Fixes Namespace Warnings in Config Files * Possible Fix for Config Upgrader Spec I'm not sure what the desired outcome here is, actually. * Updates ConfigUpgrader Spec Per feedback from @filipesperandio, the config upgrader spec will now exercise the upgrades with the new cops enabled, rather than disabled. * Removes New Cops from Base Config Co-authored-by: Filipe Esperandio --- base_rubocop.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/base_rubocop.yml b/base_rubocop.yml index ed608447..a5305d0d 100644 --- a/base_rubocop.yml +++ b/base_rubocop.yml @@ -102,15 +102,6 @@ Style/Next: Style/ModuleFunction: Enabled: false -Style/HashEachMethods: - Enabled: false - -Style/HashTransformKeys: - Enabled: false - -Style/HashTransformValues: - Enabled: false - ################################################################################ # Specs - be more lenient on length checks and block styles ################################################################################