mysticatea/eslint-plugin-node

fs.promises is marked as unsupported

Open

#174 aperta il 23 giu 2019

Vedi su GitHub
 (7 commenti) (3 reazioni) (0 assegnatari)JavaScript (186 fork)github user discovery
acceptedenhancementhelp wanted

Metriche repository

Star
 (956 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

v9 is reporting fs.promises as unsupported in Node v10.1 in rule no-unsupported-features/node-builtins, but fs.promises was added in Node v10.1. Although it was an experimental feature until Node v11.14, it was still technically supported.

no-unsupported-features/node-builtins should treat experimental features as supported or it should be configurable to do so.

This is preventing me from upgrading to v9.

Guida contributor