diff options
author | Sarat Addepalli <sarat.addepalli@paytm.com> | 2018-01-08 20:46:27 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-02-04 18:55:13 +0300 |
commit | c45afe819840d2915823df55f24574f0da139dcc (patch) | |
tree | 343645a38221355d22c10bbffe6f5472d56963f6 /lib/internal/test | |
parent | 591a8adeae9a4a366db87320d5ef373ceaa5c966 (diff) |
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/internal/test')
-rw-r--r-- | lib/internal/test/unicode.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/internal/test/unicode.js b/lib/internal/test/unicode.js index 1445276d9ae..7172a43ec20 100644 --- a/lib/internal/test/unicode.js +++ b/lib/internal/test/unicode.js @@ -3,4 +3,6 @@ // This module exists entirely for regression testing purposes. // See `test/parallel/test-internal-unicode.js`. +/* eslint-disable non-ascii-character */ module.exports = '✓'; +/* eslint-enable non-ascii-character */ |