diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-06-11 15:38:07 +0200 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-06-27 11:57:19 +0200 |
commit | ed8fc7e11d688cbcdf33d0d149830064758bdcd2 (patch) | |
tree | 4219cf838cc87497c67205ce60e11d56a4fc8b5f /lib/internal/buffer.js | |
parent | 63a0f4cdd3c8f0df4b81e96809fa48e3f959d2c9 (diff) | |
download | android-node-v8-ed8fc7e11d688cbcdf33d0d149830064758bdcd2.tar.gz android-node-v8-ed8fc7e11d688cbcdf33d0d149830064758bdcd2.tar.bz2 android-node-v8-ed8fc7e11d688cbcdf33d0d149830064758bdcd2.zip |
tools: update eslint
This updates eslint from v6.0.0-alpha.2 to v6.0.1
This also removes eslint-disable comments about `bigint` typeof
checks. Those would otherwise have caused linting errors now that
`bigint` is accepted as valid entry.
PR-URL: https://github.com/nodejs/node/pull/28173
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Diffstat (limited to 'lib/internal/buffer.js')
-rw-r--r-- | lib/internal/buffer.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/internal/buffer.js b/lib/internal/buffer.js index aaaf2ca25f..f3bc0e48d1 100644 --- a/lib/internal/buffer.js +++ b/lib/internal/buffer.js @@ -43,7 +43,6 @@ function checkBounds(buf, offset, byteLength) { function checkInt(value, min, max, buf, offset, byteLength) { if (value > max || value < min) { - // eslint-disable-next-line valid-typeof const n = typeof min === 'bigint' ? 'n' : ''; let range; if (byteLength > 3) { |