diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2019-04-06 05:56:00 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2019-04-16 04:24:26 +0800 |
commit | a38e9c438ae872da37999c39d974facd4d524ea2 (patch) | |
tree | afd23a9511e2e306760b71f1dabfdded92c8a25b /lib/.eslintrc.yaml | |
parent | 7938238b31f69d1a8bfa8069387cc2374435996c (diff) | |
download | node-new-a38e9c438ae872da37999c39d974facd4d524ea2.tar.gz |
lib: require globals instead of using the global proxy
In addition, use process.stderr instead of console.error when
there is no need to swallow the error.
PR-URL: https://github.com/nodejs/node/pull/27112
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'lib/.eslintrc.yaml')
-rw-r--r-- | lib/.eslintrc.yaml | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/.eslintrc.yaml b/lib/.eslintrc.yaml index ef3236b362..824bd32980 100644 --- a/lib/.eslintrc.yaml +++ b/lib/.eslintrc.yaml @@ -58,13 +58,3 @@ globals: module: false internalBinding: false primordials: false - # Globals - # TODO(joyeecheung): if possible, get these in native modules - # through `require` instead of grabbing them from the global proxy. - clearTimeout: false - setTimeout: false - clearInterval: false - setInterval: false - setImmediate: false - clearImmediate: false - console: false |