buffer: remove unneeded eslint-disable comment · nodejs/node@17d16e8 · GitHub
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 <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
1 parent d22346d commit 17d16e8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lib/buffer.js

Lines changed: 0 additions & 1 deletion

0 commit comments

Comments
 (0)