From 4a297cd559d11d60dbc5310c11914a49496c421c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 9 Oct 2022 21:19:34 +0200 Subject: [PATCH] Fix lint-staged configuration, take 2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .lintstagedrc.js | 3 ++- README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 9b4543c0..433ce7f0 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -1,6 +1,7 @@ module.exports = { '**/*.{js,mjs,ts}': ['eslint --cache --fix'], '**/*.{json,md,yml}': [ - 'prettier --loglevel silent --write, prettierx --write' + 'prettier --loglevel silent --write', + 'prettierx --write' ] } diff --git a/README.md b/README.md index 2db54d26..f0f8fc04 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ You can implement a worker-threads worker in a simple way by extending the class 'use strict' const { ThreadWorker } = require('poolifier') -function yourFunction(data) { +function yourFunction (data) { // this will be executed in the worker thread, // the data will be received by using the execute method return { ok: 1 } -- 2.34.1