From 092756ae62c860117069eaf6ae483a589a0989c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 17 Apr 2020 21:13:30 +0200 Subject: [PATCH] Remove wrong eslint-disable-next-line class-methods-use-this MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/Worker.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/charging-station/Worker.js b/src/charging-station/Worker.js index 7e899d40..db82e821 100644 --- a/src/charging-station/Worker.js +++ b/src/charging-station/Worker.js @@ -24,7 +24,6 @@ class Wrk { * @param {Number} numConcurrentWorkers * @private */ - // eslint-disable-next-line class-methods-use-this set _numConcurrentWorkers(numConcurrentWorkers) { if (numConcurrentWorkers > 10) { EventEmitter.defaultMaxListeners = numConcurrentWorkers + 1; @@ -32,7 +31,6 @@ class Wrk { this._concurrentWorkers = numConcurrentWorkers; } - // eslint-disable-next-line class-methods-use-this get _numConcurrentWorkers() { return this._concurrentWorkers; } -- 2.34.1