mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
de23055536
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> |
||
---|---|---|
.. | ||
alphabetize-errors.js | ||
crypto-check.js | ||
documented-errors.js | ||
eslint-check.js | ||
inspector-check.js | ||
lowercase-name-for-primitive.js | ||
no-duplicate-requires.js | ||
no-unescaped-regexp-dot.js | ||
non-ascii-character.js | ||
number-isnan.js | ||
prefer-assert-iferror.js | ||
prefer-assert-methods.js | ||
prefer-common-expectserror.js | ||
prefer-common-mustnotcall.js | ||
prefer-util-format-errors.js | ||
required-modules.js | ||
rules-utils.js |