refactor: adjust linting to latest eslint changes

This commit is contained in:
Rainer Killinger
2022-03-07 16:06:05 +01:00
parent 91b1e3a52b
commit eea8d6d339
10 changed files with 252 additions and 47 deletions

View File

@@ -19,7 +19,7 @@
export function hashStringToInt(string_: string): number {
return [...string_].reduce(
(accumulator, current) =>
current.charCodeAt(0) +
(current.codePointAt(0) ?? 0) +
(accumulator << 6) +
(accumulator << 16) -
accumulator,