Address new linting rules (#851)

Co-authored-by: philon- <philon-@users.noreply.github.com>
This commit is contained in:
Jeremy Gallant
2025-09-14 21:31:47 -04:00
committed by GitHub
co-authored by philon-
parent 37ad0ac9eb
commit aaf85943a8
16 changed files with 27 additions and 32 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ export function convertIpAddressToInt(ip: string): number | undefined {
.split(".")
.reverse()
.reduce((ipnum, octet) => {
return (ipnum << 8) + Number.parseInt(octet);
return (ipnum << 8) + Number.parseInt(octet, 10);
}, 0) >>> 0
);
}