Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Mar 25, 2024
1 parent c9abcfc commit 6040ab3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ export { b } from './circular-b'

// since there is no .accept, it does full reload
import.meta.hot.on('vite:beforeFullReload', () => {
// eslint-disable-next-line no-console
console.log('full reload')
})
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { nonExisting } from '@vitejs/cjs-external'

// eslint-disable-next-line no-console
console.log(nonExisting)
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { nonExisting } from '@vitejs/esm-external'

// eslint-disable-next-line no-console
console.log(nonExisting)
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// @ts-check

import { ModuleRunner, RemoteRunnerTransport, ESModulesEvaluator } from 'vite/module-runner'
import { parentPort, BroadcastChannel } from 'node:worker_threads'
import { BroadcastChannel, parentPort } from 'node:worker_threads'
import { fileURLToPath } from 'node:url'
import { ESModulesEvaluator, ModuleRunner, RemoteRunnerTransport } from 'vite/module-runner'

if (!parentPort) {
throw new Error('File "worker.js" must be run in a worker thread')
Expand Down

0 comments on commit 6040ab3

Please sign in to comment.