style: lint

This commit is contained in:
Neko Ayaka
2026-03-19 14:19:54 +08:00
parent 476bb27cc5
commit 60cbea1e19
3 changed files with 5 additions and 4 deletions
@@ -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
```
+3 -3
View File
@@ -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