My thought is that currently there are just two places which call domUtils.getNodesInRange with |-ing flags, and adding jslint statements there test-wise did not hurt my eyes that much (OdfUtils). If it does, we could also think to just declare a const somewhere, to get the jslint out of the actual code flow.