mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
buffer: remove unneeded eslint-disable comment
lib/buffer.js uses a function declaration for `Buffer`. So it never uses an instance of `Buffer` in the global scope. Therefore the disabling of the `require-buffer` custom rule is not needed. Remove the comment. PR-URL: https://github.com/nodejs/node/pull/11906 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
This commit is contained in:
1 parent
d22346de40
commit
17d16e8f3d
1 file changed
-1
@@ -1,4 +1,3 @@
|
||||
/* eslint-disable require-buffer */
|
||||
'use strict';
|
||||
|
||||
const binding = process.binding('buffer');
|
||||
|
||||
Reference in new issue
Block a user