Skip to content

Commit

Permalink
chore(deps): update @pob eslint configs to v54 (major) (#895)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed Feb 24, 2024
1 parent be7009d commit 4c93257
Show file tree
Hide file tree
Showing 31 changed files with 188 additions and 149 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@
"@babel/core": "7.23.9",
"@babel/preset-react": "7.23.3",
"@pob/commitlint-config": "6.3.1",
"@pob/eslint-config": "53.0.0",
"@pob/eslint-config-typescript": "53.1.0",
"@pob/eslint-config-typescript-react": "53.0.0",
"@pob/eslint-config": "54.0.1",
"@pob/eslint-config-typescript": "54.0.1",
"@pob/eslint-config-typescript-react": "54.0.1",
"@pob/root": "8.12.0",
"@types/body-parser": "1.19.5",
"@types/cookie-parser": "1.4.6",
Expand Down
1 change: 1 addition & 0 deletions src/context/accountContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ const initAccountContext = async <
} catch (error) {
context.log.info(logInfos, 'lock: release account (with error)');
release();
// eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors
reject(error);
return;
}
Expand Down
1 change: 1 addition & 0 deletions src/context/repoContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ async function initRepoContext<
} catch (error) {
context.log.info(logInfos, 'lock: release pr (with error)');
release();
// eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors
reject(error);
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const gracefulExit = function gracefulExit(): void {
serverPromise.then((server) => server.stop()),
mongoConnection && mongoConnection.close(),
]).then(() => {
// eslint-disable-next-line unicorn/no-process-exit
// eslint-disable-next-line unicorn/no-process-exit, n/no-process-exit
process.exit(0);
});
};
Expand Down

0 comments on commit 4c93257

Please sign in to comment.