From 690cd711c9be8c8f3f2c1e15fd448927cf7cd4b3 Mon Sep 17 00:00:00 2001 From: Tony Date: Mon, 15 Sep 2025 21:10:42 +0800 Subject: [PATCH] chore(eslint): add rule for unsupported Node.js built-ins --- eslint.config.mjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eslint.config.mjs b/eslint.config.mjs index 2a9b56bf8..e72025424 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -238,6 +238,11 @@ unicorn.configs.recommended, allowModules: ['tosource'], }], + "n/no-unsupported-features/node-builtins": ["error", { + "version": ">=22.0.0", + "ignores": [] + }], + 'prettier/prettier': 'off', 'yml/quotes': ['error', {