Remove wrong eslint-disable-next-line class-methods-use-this
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 17 Apr 2020 19:13:30 +0000 (21:13 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 17 Apr 2020 19:13:30 +0000 (21:13 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/Worker.js

index 7e899d40328eea4082568382717745296b879050..db82e8215fd0dad8fca89da13431c36f3c5c195d 100644 (file)
@@ -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;
   }