style: lint
This commit is contained in:
@@ -114,6 +114,7 @@ So the loading pipeline now carries a request sequence:
|
||||
```ts
|
||||
const requestId = invalidatePendingLoads()
|
||||
if (!isLoadRequestCurrent(requestId))
|
||||
// eslint-disable-next-line no-useless-return
|
||||
return
|
||||
```
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env tsx
|
||||
|
||||
import { env, exit } from 'node:process'
|
||||
import { env, exit, on } from 'node:process'
|
||||
|
||||
import { createServer } from '../server'
|
||||
|
||||
@@ -18,7 +18,7 @@ async function shutdown() {
|
||||
exit(0)
|
||||
}
|
||||
|
||||
process.on('SIGINT', shutdown)
|
||||
process.on('SIGTERM', shutdown)
|
||||
on('SIGINT', shutdown)
|
||||
on('SIGTERM', shutdown)
|
||||
|
||||
server.start()
|
||||
|
||||
@@ -12,7 +12,7 @@ interface Props {
|
||||
placement?: 'down' | 'up'
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), { placement: 'down' })
|
||||
withDefaults(defineProps<Props>(), { placement: 'down' })
|
||||
|
||||
const emit = defineEmits<{
|
||||
(e: 'create'): void
|
||||
|
||||
Reference in New Issue
Block a user