diff options
author | Sebastien Ahkrin <sebastien48criquet@gmail.com> | 2020-01-02 14:27:54 +0100 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-01-04 12:41:09 -0800 |
commit | 256c9a43f4b20214b9fb5448c9fb228ff2624058 (patch) | |
tree | 53609afa27bfdccc27baa44942459e63c06476ed /lib/.eslintrc.yaml | |
parent | 5dc55ede676808d0f3e73275d170da8437220fe5 (diff) | |
download | node-new-256c9a43f4b20214b9fb5448c9fb228ff2624058.tar.gz |
lib: replace Set global by the primordials
PR-URL: https://github.com/nodejs/node/pull/31154
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
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>
Diffstat (limited to 'lib/.eslintrc.yaml')
-rw-r--r-- | lib/.eslintrc.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/.eslintrc.yaml b/lib/.eslintrc.yaml index b84a0ef635..53545ba688 100644 --- a/lib/.eslintrc.yaml +++ b/lib/.eslintrc.yaml @@ -27,6 +27,8 @@ rules: message: "Use `const { Promise } = primordials;` instead of the global." - name: Reflect message: "Use `const { Reflect } = primordials;` instead of the global." + - name: Set + message: "Use `const { Set } = primordials;` instead of the global." - name: Symbol message: "Use `const { Symbol } = primordials;` instead of the global." - name: WeakMap |