diff --git a/lib/Server.js b/lib/Server.js index 9fed049903..4fa065d149 100644 --- a/lib/Server.js +++ b/lib/Server.js @@ -1157,7 +1157,6 @@ class Server { if (this.options.webSocketServer) { const compilers = this.compiler.compilers || [this.compiler]; - // eslint-disable-next-line no-shadow compilers.forEach((compiler) => { this.addAdditionalEntries(compiler); @@ -2128,7 +2127,6 @@ class Server { // duplicate the same massaging of options that watchpack performs // https://github.com/webpack/watchpack/blob/master/lib/DirectoryWatcher.js#L49 // this isn't an elegant solution, but we'll improve it in the future - // eslint-disable-next-line no-undefined const usePolling = typeof watchOptions.usePolling !== "undefined" ? watchOptions.usePolling