Skip to content

Commit b401c9d

Browse files
committed
Disable invalid eslint warning
1 parent afcada2 commit b401c9d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/utils-common/html.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ export function escapeHtml(html: string) {
4545
* Ref: #2714
4646
*/
4747
export function createNormalizedUrl(url: string) {
48+
// We are intentionally operating on code points here.
49+
// eslint-disable-next-line @typescript-eslint/no-misused-spread
4850
const codePoints: number[] = [...url].map((c) => c.codePointAt(0)!);
4951

5052
for (let i = 0; i < codePoints.length; ++i) {

0 commit comments

Comments
 (0)