Browse Source

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>
v6.x
Rich Trott 8 years ago
committed by Myles Borins
parent
commit
53d7a89497
No known key found for this signature in database GPG Key ID: 933B01F40B5CA946
  1. 1
      lib/buffer.js

1
lib/buffer.js

@ -1,4 +1,3 @@
/* eslint-disable require-buffer */
'use strict'; 'use strict';
const binding = process.binding('buffer'); const binding = process.binding('buffer');

Loading…
Cancel
Save