Skip to content

Commit 869cd53

Browse files
Sebastien-Ahkrintargos
authored andcommitted
lib: replace WeakSet global by the primordials
PR-URL: #31157 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 90196b8 commit 869cd53

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/.eslintrc.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ rules:
3131
message: "Use `const { Symbol } = primordials;` instead of the global."
3232
- name: WeakMap
3333
message: "Use `const { WeakMap } = primordials;` instead of the global."
34+
- name: WeakSet
35+
message: "Use `const { WeakSet } = primordials;` instead of the global."
3436
no-restricted-syntax:
3537
# Config copied from .eslintrc.js
3638
- error

0 commit comments

Comments
 (0)