You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This cop "arguably" incorrectly flags methods that are called feature (And probably others), that take no arguments but take a block. One such example is in cucumber-ruby-core
We have many method call-chains that look like the following... (I won't post all examples)
gherkin = gherkin('features/foo.feature') do
feature do
scenario do
step 'text'
end
end
end
Would there be some way to not flag this. Possible suggestions are...
Only detect at top of file?
Provide an exclusion list for names (feature/specify/describe/context/it)
Something else?
The text was updated successfully, but these errors were encountered:
This cop "arguably" incorrectly flags methods that are called
feature
(And probably others), that take no arguments but take a block. One such example is incucumber-ruby-core
We have many method call-chains that look like the following... (I won't post all examples)
Would there be some way to not flag this. Possible suggestions are...
The text was updated successfully, but these errors were encountered: