diff --git a/eslint.config.js b/eslint.config.js index f14f7ba..ce498ab 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -67,9 +67,6 @@ export default defineConfig([ }, { ignores: ['dist'] }, eslintPluginPrettierRecommended, - - // TODO: Must-have rules. Enable one-by-one - { rules: { 'prettier/prettier': 'off' } }, ]) /** @param config {import('eslint').Linter.FlatConfig} */ diff --git a/src/common.ts b/src/common.ts index 650a5dd..7c84329 100644 --- a/src/common.ts +++ b/src/common.ts @@ -36,7 +36,7 @@ export interface TinypoolWorker { * these messages and ignore them. */ export interface TinypoolWorkerMessage< - T extends 'port' | 'pool' = 'port' | 'pool' + T extends 'port' | 'pool' = 'port' | 'pool', > { __tinypool_worker_message__: true source: T diff --git a/src/runtime/process-worker.ts b/src/runtime/process-worker.ts index 4c07919..0e871f1 100644 --- a/src/runtime/process-worker.ts +++ b/src/runtime/process-worker.ts @@ -67,7 +67,7 @@ export default class ProcessWorker implements TinypoolWorker { }) } - private send(message: Parameters>[0]) { + private send(message: Parameters>[0]) { if (!this.isTerminating) { this.process.send(message) }