diff --git a/lib/.eslintrc.yaml b/lib/.eslintrc.yaml index b9ff435f10bb1e..9dbdc218174a10 100644 --- a/lib/.eslintrc.yaml +++ b/lib/.eslintrc.yaml @@ -141,7 +141,7 @@ rules: - name: clearTimeout message: Use `const { clearTimeout } = require('timers');` instead of the global. - name: console - message: Use `const { console } = require('internal/console/global');` instead of the global. + message: Use `const console = require('internal/console/global');` instead of the global. - name: crypto message: Use `const { crypto } = require('internal/crypto/webcrypto');` instead of the global. - name: Crypto