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

no-unsupported-features/node-builtin should detect unsupported usage of `fs.rmDir`

Open Skn0tt opened this issue 5 years ago • 0 comments

The following is supported from Node v12 onwards:

fs.rmDir("myRandomDir", { recursive: true });

It'd be awesome if no-unsupported-features/node-builtin caught this.

For reference: https://github.com/blitz-js/blitz/pull/454

Skn0tt avatar May 08 '20 17:05 Skn0tt