From b6eeb0bdc5eb1d2e5541a34d1e68f1237b8bffbb Mon Sep 17 00:00:00 2001 From: Ethan Arrowood Date: Wed, 18 Nov 2026 13:00:13 -0700 Subject: [PATCH] tools: apply http lint rule to lib/internal/http The `lib/_http_*.js` files moved to `lib/internal/http/` recently. But the ESLint config still only listed the old paths. The moved files lost the "Do not use prototype primordials in this file" check that other HTTP hot paths have. This change adds `lib/internal/http/*.js` to that rule list. The files already comply so no other changes are needed. Assisted-by: Claude Opus 5.5 Signed-off-by: Ethan Arrowood PR-URL: https://github.com/nodejs/node/pull/67529 Refs: https://github.com/nodejs/node/pull/58535 Reviewed-By: Efe Karasakal Reviewed-By: Antoine du Hamel Reviewed-By: Richard Lau --- lib/eslint.config_partial.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/eslint.config_partial.mjs b/lib/eslint.config_partial.mjs index fcd4dd4aa78..cc1ad67d917 100644 --- a/lib/eslint.config_partial.mjs +++ b/lib/eslint.config_partial.mjs @@ -566,6 +566,7 @@ export default [ 'lib/http.js', 'lib/http2.js', 'lib/internal/http.js', + 'lib/internal/http/*.js', 'lib/internal/http2/*.js', 'lib/tls.js', 'lib/zlib.js',