Right now you have to either use dns.promises.setServers([ ... ]) or use the ignore line.
dns.promises.setServers does not actually return a Promise, and will actually error if you call it with .then().
// eslint-disable-next-line n/prefer-promises/dns
dns.setServers([
'...'
]);