Skip to content

Commit

Permalink
buffer: remove unneeded eslint-disable comment
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Trott authored and MylesBorins committed Apr 18, 2017
1 parent d7d0dba commit bcb0957
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/buffer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable require-buffer */
'use strict';

const binding = process.binding('buffer');
Expand Down

0 comments on commit bcb0957

Please sign in to comment.