const navigate = currentPage.customNavigate ? 'customNavigate' : 'navigate';
currentPage
[navigate]()
.waitForElementPresent('@uniqueElement');

Hi everyone. I want to use method chaining 
<https://medium.com/backticks-tildes/understanding-method-chaining-in-javascript-647a9004bd4f>
 in 
some part of my code, but I access dynamically to one of the methods. The 
current no-unexpected-multiline marks an error and there's no way to 
configure this. UnU

-- 
You received this message because you are subscribed to the Google Groups 
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/eslint/72d814b0-cf39-4468-9cc6-f24ac0dcdb08%40googlegroups.com.

Reply via email to