From a50b6f092e003f740249232b69a6ebef3ba2ebf1 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 48eca73b53b2e2..415f37238db7cc 100644 --- a/lib/buffer.js +++ b/lib/buffer.js @@ -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');