e.g.:
cy.get('foo')
.click()
.then(() => someFuncThatDoesNotUseFoo());
This is perfectly safe, even though the linter will complain about it. Splitting it out like this adds no value:
cy.get('foo')
.click();
cy.then(() => someFuncThatDoesNotUseFoo());