about summary refs log tree commit diff
diff options
context:
space:
mode:
authorabcang <abcang1015@gmail.com>2020-10-20 16:13:39 +0900
committerGitHub <noreply@github.com>2020-10-20 09:13:39 +0200
commit9649ca0fbe13a86b26b129d6ff925848f261496d (patch)
treee3d963b7a107ae7934fcfdb33b0a7ff0e68d450f
parent0c24f4dce204e898fe07f763d48f133214d96017 (diff)
Removed disabling comments for Style/MethodMissingSuper (#15014)
* Removed disabling comments for Style/MethodMissingSuper

* Update rubocop for codeclimate
-rw-r--r--.codeclimate.yml2
-rw-r--r--app/lib/settings/scoped_settings.rb2
2 files changed, 1 insertions, 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