Permalink
Browse files

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>
  • Loading branch information...
Trott committed Mar 17, 2017
1 parent cce520a commit 39bba4dff80fa8c63c52818eff20714ae6659b4f
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/buffer.js
View
@@ -19,7 +19,6 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.
/* eslint-disable require-buffer */
'use strict';
const binding = process.binding('buffer');

0 comments on commit 39bba4d

Please sign in to comment.