Closed kevinoid closed 3 years ago
According to the Node.js v14 release notes, node.green, and my own testing, the ES2020 nullish coalescing operator (??) (TC39 proposal) is supported by Node.js v14 and later. However, eslint-plugin-node@11.1.0 does not warn when it is used in packages where engines.node includes lower versions. It would be great if ?? could be added to no-unsupported-features/es-syntax.
eslint-plugin-node@11.1.0
engines.node
??
no-unsupported-features/es-syntax
Thanks for considering, Kevin
According to the Node.js v14 release notes, node.green, and my own testing, the ES2020 nullish coalescing operator (??) (TC39 proposal) is supported by Node.js v14 and later. However,
eslint-plugin-node@11.1.0
does not warn when it is used in packages whereengines.node
includes lower versions. It would be great if??
could be added tono-unsupported-features/es-syntax
.Thanks for considering, Kevin