From 9adea7fe953345ec05b196ff93e2403d13dc2186 Mon Sep 17 00:00:00 2001 From: Rui Baltazar Date: Sun, 16 Feb 2020 17:42:12 +0800 Subject: [PATCH] WIP - fixed all immediatly fixable issues --- .pryrc | 2 ++ .rubocop_todo.yml | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.pryrc b/.pryrc index a6e67e41..33d98970 100644 --- a/.pryrc +++ b/.pryrc @@ -1,3 +1,5 @@ # frozen_string_literal: true +# rubocop:disable Style/MixinUsage extend Rails::ConsoleMethods if defined?(Rails) && Rails.env +# rubocop:enable Style/MixinUsage diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 805f9c54..d61a071d 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -32,8 +32,3 @@ Metrics/LineLength: # Configuration parameters: CountComments, ExcludedMethods. Metrics/MethodLength: Max: 24 - -# Offense count: 1 -Style/MixinUsage: - Exclude: - - '.pryrc'