Skip to content

Commit 602dfaa

Browse files
Add ESLint disable comment and reorder imports in hotReloadWatcher
Co-authored-by: rahul.chhabria <[email protected]>
1 parent f1cb545 commit 602dfaa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/hotReloadWatcher.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
import path from 'path';
1+
/* eslint-disable no-console, consistent-return, simple-import-sort/imports */
2+
23
import {watch} from 'node:fs/promises';
4+
import path from 'path';
35
import {WebSocketServer} from 'ws';
46

57
const watchedContent = new Set(['.mdx', '.md', '.png', '.jpg', '.jpeg', '.gif', '.svg']);

0 commit comments

Comments
 (0)