mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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>
This commit is contained in:
1 parent
4fd45e2bf7
commit
b6eeb0bdc5
1 file changed
+1
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user