From 939e98fc4f08182138f64fffc2a01811bffe00db Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Sun, 8 Feb 2015 17:45:37 -0800 Subject: [PATCH] eslint: ignore consistent-this rule --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index d148573..ae4b521 100644 --- a/index.js +++ b/index.js @@ -91,7 +91,9 @@ function Buffer (subject, encoding, noZero) { var self = this if (Buffer.TYPED_ARRAY_SUPPORT) { // Preferred: Return an augmented `Uint8Array` instance for best performance + /*eslint-disable consistent-this */ self = Buffer._augment(new Uint8Array(length)) + /*eslint-enable consistent-this */ } else { // Fallback: Return THIS instance of Buffer (created by `new`) self.length = length -- 2.34.1