From bcb0957630f82b1a4aecf3197fdd35feb2fdfb46 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 17 Mar 2017 13:46:46 -0700 Subject: [PATCH] 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 Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Roman Reiss --- lib/buffer.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/buffer.js b/lib/buffer.js index 8c4f8620e55c9d..65bed256e39229 100644 --- a/lib/buffer.js +++ b/lib/buffer.js @@ -1,4 +1,3 @@ -/* eslint-disable require-buffer */ 'use strict'; const binding = process.binding('buffer');