mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-09-13 22:28:56 +02:00
Fix all 93 ESLint issues (3 errors, 90 warnings) (#666)
This commit is contained in:
@@ -98,6 +98,7 @@ router.get(
|
||||
}
|
||||
);
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
function validateNewPullRequest(pullRequestUpdate: any): void {
|
||||
const validCharacters = /^[0-9a-zA-Z\-_]+$/;
|
||||
if (
|
||||
@@ -146,6 +147,7 @@ function validateNewPullRequest(pullRequestUpdate: any): void {
|
||||
|
||||
function updatePullRequestModel(
|
||||
model: IAnonymizedPullRequestDocument,
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
pullRequestUpdate: any
|
||||
) {
|
||||
model.options = {
|
||||
|
||||
Reference in New Issue
Block a user