Upgrade to ESLint v9 flat config (#34324)

Co-authored-by: Nick Schonning <nschonni@gmail.com>
This commit is contained in:
Echo 2025-04-01 18:30:18 +02:00 committed by GitHub
commit e8270e2807
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 1011 additions and 874 deletions

View file

@ -33,11 +33,8 @@ function processEmojiMapData(
shortCode?: ShortCodesToEmojiDataKey,
) {
const [native, _filename] = emojiMapData;
let filename = emojiMapData[1];
if (!filename) {
// filename name can be derived from unicodeToFilename
filename = unicodeToFilename(native);
}
// filename name can be derived from unicodeToFilename
const filename = emojiMapData[1] ?? unicodeToFilename(native);
unicodeMapping[native] = {
shortCode,
filename,