eslint-plugin-node
eslint-plugin-node copied to clipboard
💥 Update node/no-unsupported-features/node-builtins with crypto.randomUUID
This commit adds support for the crypto.randomUUID method, which was added to the standard lib in v14.17.0.
https://nodejs.org/docs/latest-v14.x/api/crypto.html#crypto_crypto_randomuuid_options
eslint-plugin-n is the maintained version of this module.
We switched to it in eg. eslint-config-standard / standard and it is maintained by me and other members of the official ESLint community organization.
Try that module out and if it isn't fixed there, then open a new PR in that project.