summaryrefslogtreecommitdiff
path: root/lib/.eslintrc.yaml
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2019-04-09 09:55:53 +0200
committerDaniel Bevenius <daniel.bevenius@gmail.com>2019-04-12 05:38:45 +0200
commit908292cf1f551c614a733d858528ffb13fb3a524 (patch)
tree5d3b3a020a6936203b36b82e77a970d8339966de /lib/.eslintrc.yaml
parent9ad5106934a21416a2391890ea28bde8b42a6c60 (diff)
downloadnode-new-908292cf1f551c614a733d858528ffb13fb3a524.tar.gz
lib: enforce the use of Object from primordials
PR-URL: https://github.com/nodejs/node/pull/27146 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gus Caplan <me@gus.host>
Diffstat (limited to 'lib/.eslintrc.yaml')
-rw-r--r--lib/.eslintrc.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/.eslintrc.yaml b/lib/.eslintrc.yaml
index 12375c06ed..ef3236b362 100644
--- a/lib/.eslintrc.yaml
+++ b/lib/.eslintrc.yaml
@@ -10,6 +10,8 @@ rules:
message: "Use `const { JSON } = primordials;` instead of the global."
- name: Math
message: "Use `const { Math } = primordials;` instead of the global."
+ - name: Object
+ message: "Use `const { Object } = primordials;` instead of the global."
- name: Reflect
message: "Use `const { Reflect } = primordials;` instead of the global."
no-restricted-syntax: