node/lib
Joyee Cheung de23055536
lib: remove env: node in eslint config for lib files
This patch removes the redundant `require-globals` custom
eslint rule by removing `env: node` in the eslint config
and whitelist the globals that can be accessed in native
modules instead of black listing them. This makes sense
for our `lib/` files because here we are creating the
Node.js environment instead of running in a normal user
land Node.js environment.

PR-URL: https://github.com/nodejs/node/pull/27082
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2019-04-06 12:04:36 +08:00
..
internal lib: remove env: node in eslint config for lib files 2019-04-06 12:04:36 +08:00
_http_agent.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_http_client.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_http_common.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
_http_incoming.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_http_outgoing.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_http_server.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_stream_duplex.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
_stream_passthrough.js
_stream_readable.js stream: make Symbol.asyncIterator support stable 2019-04-03 09:15:59 +02:00
_stream_transform.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_stream_wrap.js lib: assign missed deprecation code 2019-03-07 15:48:55 +01:00
_stream_writable.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_tls_common.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_tls_wrap.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
.eslintrc.yaml lib: remove env: node in eslint config for lib files 2019-04-06 12:04:36 +08:00
assert.js lib: validate Error.captureStackTrace() calls 2019-03-23 02:55:55 +01:00
async_hooks.js async_hooks: improve AsyncResource performance 2019-04-05 05:37:01 +02:00
buffer.js lib: remove env: node in eslint config for lib files 2019-04-06 12:04:36 +08:00
child_process.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
cluster.js
console.js
constants.js
crypto.js lib: remove env: node in eslint config for lib files 2019-04-06 12:04:36 +08:00
dgram.js dgram: add support for UDP connected sockets 2019-04-03 06:48:13 +02:00
dns.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
domain.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
events.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
fs.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
http2.js
http.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
https.js https: remove usage of public require('util') 2019-03-23 18:40:24 +05:30
inspector.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
module.js
net.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
os.js lib: refactor Error.captureStackTrace() usage 2019-03-23 02:55:54 +01:00
path.js path: refactor for less indentation 2019-04-03 02:35:18 +02:00
perf_hooks.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
process.js
punycode.js
querystring.js querystring: simplify stringify method 2019-04-04 15:26:06 +02:00
readline.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
repl.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
stream.js stream: reduce internal usage of public require of util 2019-03-22 00:48:32 +01:00
string_decoder.js
sys.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
timers.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
tls.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
trace_events.js trace_events: remove usage of require('util') 2019-03-24 18:28:07 +08:00
tty.js tty: remove util.inherits usage 2019-03-25 00:26:49 +01:00
url.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
util.js lib: remove env: node in eslint config for lib files 2019-04-06 12:04:36 +08:00
v8.js v8: integrate node-heapdump into core 2019-03-13 15:50:32 +00:00
vm.js
worker_threads.js worker: use copy of process.env 2019-03-30 22:25:35 +01:00
zlib.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00