Skip to content

Commit

Permalink
chore: remove redundant eslint-disable comments (#4053)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Nov 25, 2021
1 parent e6330f5 commit d104b58
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Server.js
Expand Up @@ -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);

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d104b58

Please sign in to comment.