From 784b79b089f970e88dd559ed242347d4e86339e5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 8 Feb 2021 17:19:15 +0100 Subject: [PATCH] Ensure all commands are always run in lint-and-format MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- examples/typescript/pool.ts | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/typescript/pool.ts b/examples/typescript/pool.ts index 96b861c4..50dcc7b7 100644 --- a/examples/typescript/pool.ts +++ b/examples/typescript/pool.ts @@ -1,7 +1,8 @@ -import { join } from 'path' import { DynamicThreadPool, FixedThreadPool } from 'poolifier' import { MyData, MyResponse } from './worker' +import { join } from 'path' + export const fixedPool = new FixedThreadPool>( 8, join(__dirname, 'worker.js'), diff --git a/package.json b/package.json index 0c1dd8ce..20fd562a 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "lint:standard": "prettier-standard --format | standard --fix", "ts-standard:verbose": "npx ts-standard --verbose", "lint:ts-standard": "ts-standard --fix", - "lint-and-format": "npm run lint:standard && npm run lint:ts-standard && npm run import-sort" + "lint-and-format": "npm run lint:standard; npm run lint:ts-standard; npm run import-sort" }, "repository": { "type": "git", -- 2.34.1