chore(lint): enable no-promise-executor-return

This commit is contained in:
Peter Steinberger
2026-05-31 23:06:03 +01:00
parent 48afba96a3
commit 22cb7fb6b7
375 changed files with 2134 additions and 884 deletions

View File

@@ -92,7 +92,10 @@ const isProcessAlive = (pid, signalProcess) => {
return true;
};
const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
const sleep = (ms) =>
new Promise((resolve) => {
setTimeout(resolve, ms);
});
const createWatchLockKey = (cwd, args) =>
createHash("sha256").update(cwd).update("\0").update(args.join("\0")).digest("hex").slice(0, 12);