Skip to content

Commit 53c3c84

Browse files
committed
add comments for when to remove fetch and fs.cpSync from n/no-unsupported-features/node-builtins
1 parent e04ea6d commit 53c3c84

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

eslint.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,8 @@ export default tsConfig(
803803
],
804804
'n/no-top-level-await': 'off',
805805
// TODO: remove when fetch/cpSync stabilizes across all node versions
806+
// fetch is not supported until Node.js 21.0.0
807+
// fs.cpSync is not supported until Node.js 22.3.0
806808
'n/no-unsupported-features/node-builtins': [
807809
'error',
808810
{

0 commit comments

Comments
 (0)