We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b8eaf2 commit 542aae4Copy full SHA for 542aae4
lib/.eslintrc.yaml
@@ -31,6 +31,8 @@ rules:
31
message: "Use `const { Symbol } = primordials;` instead of the global."
32
- name: WeakMap
33
message: "Use `const { WeakMap } = primordials;` instead of the global."
34
+ - name: WeakSet
35
+ message: "Use `const { WeakSet } = primordials;` instead of the global."
36
no-restricted-syntax:
37
# Config copied from .eslintrc.js
38
- error
lib/repl.js
@@ -56,6 +56,7 @@ const {
56
Promise,
57
PromiseRace,
58
Symbol,
59
+ WeakSet,
60
} = primordials;
61
62
const {
0 commit comments