diff --git a/lib/.eslintrc.yaml b/lib/.eslintrc.yaml index c5e5a146ec4912..2cc6ca904ee76f 100644 --- a/lib/.eslintrc.yaml +++ b/lib/.eslintrc.yaml @@ -153,7 +153,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