Commit 0f2c06155da for nodejs
commit 0f2c06155da9a89b4c1a1bef35ac5dc2c30b1711
Author: Ethan Arrowood <ethan@arrowood.dev>
Date: Wed Nov 18 13:00:13 2026 -0700
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 <noreply@anthropic.com>
Signed-off-by: Ethan Arrowood <ethan@arrowood.dev>
PR-URL: https://github.com/nodejs/node/pull/67529
Refs: https://github.com/nodejs/node/pull/58535
Reviewed-By: Efe Karasakal <hi@efe.dev>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
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',