]> cat aescling's git repositories - mastodon.git/commitdiff
Removed disabling comments for Style/MethodMissingSuper (#15014)
authorabcang <abcang1015@gmail.com>
Tue, 20 Oct 2020 07:13:39 +0000 (16:13 +0900)
committerGitHub <noreply@github.com>
Tue, 20 Oct 2020 07:13:39 +0000 (09:13 +0200)
* Removed disabling comments for Style/MethodMissingSuper

* Update rubocop for codeclimate

.codeclimate.yml
app/lib/settings/scoped_settings.rb

index 9c9b4517aac156813d6fb07f391576f55a89732d..dc8ca9a6f2d600fd4c1c9827192cf7592c3cfe09 100644 (file)
@@ -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:
index 3bec9bd569d0ecc9ee923f18294a3bcf59842f03..ef694205c43dacd966d2eb69903f0c568fad2e78 100644 (file)
@@ -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