Skip to content

Commit 17d16e8

Browse files
TrottMylesBorins
authored andcommitted
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: #11906 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent d22346d commit 17d16e8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/buffer.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable require-buffer */
21
'use strict';
32

43
const binding = process.binding('buffer');

0 commit comments

Comments
 (0)