Removed disabling comments for Style/MethodMissingSuper (#15014)
* Removed disabling comments for Style/MethodMissingSuper * Update rubocop for codeclimate
这个提交存在于:
父节点
0c24f4dce2
当前提交
9649ca0fbe
共有 2 个文件被更改,包括 1 次插入 和 3 次删除
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
正在加载…
添加表格
在新工单中引用