From 8f279193e13c76ab6a8f795e4bb0b591e8c2b4af Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 11 Jun 2024 17:02:19 +0200 Subject: [PATCH] build(ci): silence linter MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .lintstagedrc.js | 2 +- .../http-server-pool/fastify-worker_threads/src/main.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.lintstagedrc.js b/.lintstagedrc.js index f9e18d53..d68031db 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -1,7 +1,7 @@ export default { '**/*.{ts,tsx,js,jsx,cjs,mjs}': [ // 'biome format --write', - 'eslint --cache --fix', + // 'eslint --cache --fix', ], '**/*.json': ['biome format --write'], '**/*.{md,yml,yaml}': ['prettier --cache --write'], diff --git a/examples/typescript/http-server-pool/fastify-worker_threads/src/main.ts b/examples/typescript/http-server-pool/fastify-worker_threads/src/main.ts index d30e913c..b9aba792 100644 --- a/examples/typescript/http-server-pool/fastify-worker_threads/src/main.ts +++ b/examples/typescript/http-server-pool/fastify-worker_threads/src/main.ts @@ -17,6 +17,7 @@ const fastify = Fastify({ const workerFile = join( dirname(fileURLToPath(import.meta.url)), + // eslint-disable-next-line @typescript-eslint/restrict-template-expressions `worker${extname(fileURLToPath(import.meta.url))}` ) -- 2.34.1