Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
module.exports = {
'**/*.{js,mjs,ts}': ['eslint --cache --fix'],
'**/*.{json,md,yml}': [
- 'prettier --loglevel silent --write, prettierx --write'
+ 'prettier --loglevel silent --write',
+ 'prettierx --write'
]
}
'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 }