Upgrade to typescript-eslint v6 (#25904)

This commit is contained in:
Renaud Chaput
2023-07-13 11:49:16 +02:00
committed by GitHub
parent 3ed9b55cb3
commit a7253075d1
23 changed files with 133 additions and 107 deletions

View File

@@ -4,6 +4,5 @@ export function uuid(a?: string): string {
(a as unknown as number) ^
((Math.random() * 16) >> ((a as unknown as number) / 4))
).toString(16)
: // eslint-disable-next-line @typescript-eslint/restrict-plus-operands
('' + 1e7 + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, uuid);
: ('' + 1e7 + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, uuid);
}