From: Jérôme Benoit Date: Mon, 8 Feb 2021 16:19:15 +0000 (+0100) Subject: Ensure all commands are always run in lint-and-format X-Git-Tag: v2.0.0-beta.2~77^2^2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=784b79b089f970e88dd559ed242347d4e86339e5;p=poolifier.git Ensure all commands are always run in lint-and-format Signed-off-by: Jérôme Benoit --- 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",