eslint-plugin-node
eslint-plugin-node copied to clipboard
Make "node/prefer-promises/dns" and "node/prefer-promises/fs" part of node recommended
We all know that usage of promises (and especially async/await) is superior to using non-promises in code. As such, would it not make sense to add these two to node-recommended, and instead let users turn them off if they do not want them?
"node/prefer-promises/dns": "error",
"node/prefer-promises/fs": "error"