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: nodejs/node#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>
  • Loading branch information
Trott authored and andrew749 committed Jul 19, 2017
1 parent 677035e commit 02855e7
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 02855e7

Please sign in to comment.