From 9649ca0fbe13a86b26b129d6ff925848f261496d Mon Sep 17 00:00:00 2001 From: abcang Date: Tue, 20 Oct 2020 16:13:39 +0900 Subject: [PATCH] Removed disabling comments for Style/MethodMissingSuper (#15014) * Removed disabling comments for Style/MethodMissingSuper * Update rubocop for codeclimate --- .codeclimate.yml | 2 +- app/lib/settings/scoped_settings.rb | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.codeclimate.yml b/.codeclimate.yml index 9c9b4517a..dc8ca9a6f 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -30,7 +30,7 @@ plugins: channel: eslint-7 rubocop: enabled: true - channel: rubocop-0-88 + channel: rubocop-0-92 sass-lint: enabled: true exclude_patterns: diff --git a/app/lib/settings/scoped_settings.rb b/app/lib/settings/scoped_settings.rb index 3bec9bd56..ef694205c 100644 --- a/app/lib/settings/scoped_settings.rb +++ b/app/lib/settings/scoped_settings.rb @@ -11,7 +11,6 @@ module Settings @object = object end - # rubocop:disable Style/MethodMissingSuper def method_missing(method, *args) method_name = method.to_s # set a value for a variable @@ -24,7 +23,6 @@ module Settings self[method_name] end end - # rubocop:enable Style/MethodMissingSuper def respond_to_missing?(*) true