diff options
author | Sarat Addepalli <sarat.addepalli@paytm.com> | 2018-01-08 23:16:27 +0530 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-02-04 16:55:13 +0100 |
commit | c45afe819840d2915823df55f24574f0da139dcc (patch) | |
tree | 343645a38221355d22c10bbffe6f5472d56963f6 /lib/timers.js | |
parent | 591a8adeae9a4a366db87320d5ef373ceaa5c966 (diff) | |
download | android-node-v8-c45afe819840d2915823df55f24574f0da139dcc.tar.gz android-node-v8-c45afe819840d2915823df55f24574f0da139dcc.tar.bz2 android-node-v8-c45afe819840d2915823df55f24574f0da139dcc.zip |
tools: non-Ascii linter for /lib only
Non-ASCII characters in /lib get compiled into the node binary,
and may bloat the binary size unnecessarily. A linter rule may
help prevent this.
PR-URL: https://github.com/nodejs/node/pull/18043
Fixes: https://github.com/nodejs/node/issues/11209
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Diffstat (limited to 'lib/timers.js')
-rw-r--r-- | lib/timers.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/timers.js b/lib/timers.js index 99ed920e9a..8d061ab014 100644 --- a/lib/timers.js +++ b/lib/timers.js @@ -97,6 +97,7 @@ const Timeout = timerInternals.Timeout; // TimerWrap C++ handle, which makes the call after the duration to process the // list it is attached to. // +/* eslint-disable non-ascii-character */ // // ╔════ > Object Map // ║ @@ -118,6 +119,7 @@ const Timeout = timerInternals.Timeout; // ║ // ╚════ > Linked List // +/* eslint-enable non-ascii-character */ // // With this, virtually constant-time insertion (append), removal, and timeout // is possible in the JavaScript layer. Any one list of timers is able to be |