mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 16:42:56 +00:00
refactor: adjust linting to latest eslint changes
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user