mysticatea / eslint-plugin-node

Additional ESLint's rules for Node.js
MIT License
958 stars 167 forks source link

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

Open thernstig opened 3 years ago

thernstig commented 3 years ago

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"