0
0
Fork 0

Update eslint (non-major) (#29820)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
This commit is contained in:
renovate[bot] 2024-04-03 20:05:39 +02:00 committed by GitHub
parent e284417349
commit 37d984b8bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 63 additions and 61 deletions

View file

@ -24,7 +24,7 @@ export type StatusLike = Record<{
function normalizeHashtag(hashtag: string) {
return (
hashtag && hashtag.startsWith('#') ? hashtag.slice(1) : hashtag
!!hashtag && hashtag.startsWith('#') ? hashtag.slice(1) : hashtag
).normalize('NFKC');
}