Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 869cd53

Browse filesBrowse files
Sebastien-Ahkrintargos
authored andcommitted
lib: replace WeakSet global by the primordials
PR-URL: #31157 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent 90196b8 commit 869cd53
Copy full SHA for 869cd53

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Collapse file

‎lib/.eslintrc.yaml‎

Copy file name to clipboardExpand all lines: lib/.eslintrc.yaml
+2Lines changed: 2 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.