Browse Source

Removed disabling comments for Style/MethodMissingSuper (#15014)

* Removed disabling comments for Style/MethodMissingSuper

* Update rubocop for codeclimate
master
abcang 3 years ago
committed by GitHub
parent
commit
9649ca0fbe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions
  1. +1
    -1
      .codeclimate.yml
  2. +0
    -2
      app/lib/settings/scoped_settings.rb

+ 1
- 1
.codeclimate.yml View 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:

+ 0
- 2
app/lib/settings/scoped_settings.rb View 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

Loading…
Cancel
Save