eslint-plugin-node icon indicating copy to clipboard operation
eslint-plugin-node copied to clipboard

Make "node/prefer-promises/dns" and "node/prefer-promises/fs" part of node recommended

Open thernstig opened this issue 4 years ago • 0 comments

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"

thernstig avatar Mar 17 '21 15:03 thernstig