Skip to content

Commit d104b58

Browse files
authoredNov 25, 2021
chore: remove redundant eslint-disable comments (#4053)
1 parent e6330f5 commit d104b58

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎lib/Server.js

-2
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,6 @@ class Server {
11571157
if (this.options.webSocketServer) {
11581158
const compilers = this.compiler.compilers || [this.compiler];
11591159

1160-
// eslint-disable-next-line no-shadow
11611160
compilers.forEach((compiler) => {
11621161
this.addAdditionalEntries(compiler);
11631162

@@ -2128,7 +2127,6 @@ class Server {
21282127
// duplicate the same massaging of options that watchpack performs
21292128
// https://github.com/webpack/watchpack/blob/master/lib/DirectoryWatcher.js#L49
21302129
// this isn't an elegant solution, but we'll improve it in the future
2131-
// eslint-disable-next-line no-undefined
21322130
const usePolling =
21332131
typeof watchOptions.usePolling !== "undefined"
21342132
? watchOptions.usePolling

0 commit comments

Comments
 (0)
Please sign in to comment.