forked from cybrespace/mastodon
Removed disabling comments for Style/MethodMissingSuper (#15014)
* Removed disabling comments for Style/MethodMissingSuper * Update rubocop for codeclimate
This commit is contained in:
parent
0c24f4dce2
commit
9649ca0fbe
|
@ -30,7 +30,7 @@ plugins:
|
||||||
channel: eslint-7
|
channel: eslint-7
|
||||||
rubocop:
|
rubocop:
|
||||||
enabled: true
|
enabled: true
|
||||||
channel: rubocop-0-88
|
channel: rubocop-0-92
|
||||||
sass-lint:
|
sass-lint:
|
||||||
enabled: true
|
enabled: true
|
||||||
exclude_patterns:
|
exclude_patterns:
|
||||||
|
|
|
@ -11,7 +11,6 @@ module Settings
|
||||||
@object = object
|
@object = object
|
||||||
end
|
end
|
||||||
|
|
||||||
# rubocop:disable Style/MethodMissingSuper
|
|
||||||
def method_missing(method, *args)
|
def method_missing(method, *args)
|
||||||
method_name = method.to_s
|
method_name = method.to_s
|
||||||
# set a value for a variable
|
# set a value for a variable
|
||||||
|
@ -24,7 +23,6 @@ module Settings
|
||||||
self[method_name]
|
self[method_name]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
# rubocop:enable Style/MethodMissingSuper
|
|
||||||
|
|
||||||
def respond_to_missing?(*)
|
def respond_to_missing?(*)
|
||||||
true
|
true
|
||||||
|
|
Loading…
Reference in New Issue