mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
update rubocop config
This commit is contained in:
parent
1b70cec73e
commit
7cfbeda24d
2 changed files with 3 additions and 2 deletions
|
@ -49,7 +49,7 @@ Metrics/PerceivedComplexity:
|
|||
Enabled: false
|
||||
|
||||
Metrics/ParameterLists:
|
||||
Enabled: false
|
||||
CountKeywordArgs: false
|
||||
|
||||
Lint/UnusedMethodArgument:
|
||||
Exclude:
|
||||
|
|
|
@ -45,7 +45,8 @@ module Capybara
|
|||
unless functions.empty?
|
||||
hints_js << <<~EACH_JS
|
||||
return arguments[0].map(function(el){
|
||||
return [#{functions.join(',')}].map(function(fn){ return fn.call(null, el) }); });
|
||||
return [#{functions.join(',')}].map(function(fn){ return fn.call(null, el) });
|
||||
});
|
||||
EACH_JS
|
||||
|
||||
hints = es_context.execute_script hints_js, els
|
||||
|
|
Loading…
Add table
Reference in a new issue