Update ESLint to not try to resolve virtual modules (#34837)

This commit is contained in:
Echo authored and GitHub committed 2025-05-28 10:04:52 +00:00
1 parent 991796172a
commit 6ffa262546
4 files changed
+1 -4

No files matched your search

@@ -3,7 +3,6 @@
// emojiIndex.search functionality.
import type { BaseEmoji } from 'emoji-mart';
import type { Emoji } from 'emoji-mart/dist-es/utils/data';
// eslint-disable-next-line import/no-unresolved
import emojiCompressed from 'virtual:mastodon-emoji-compressed';
import type {
Search,
@@ -2,7 +2,6 @@
// (i.e. the svg filename) and a shortCode intended to be shown
// as a "title" attribute in an HTML element (aka tooltip).
// eslint-disable-next-line import/no-unresolved
import emojiCompressed from 'virtual:mastodon-emoji-compressed';
import type {
FilenameData,
@@ -3,7 +3,6 @@ import { IntlMessageFormat } from 'intl-messageformat';
import { unescape } from 'lodash';
// see config/vite/plugins/sw-locales
// it needs to be updated when new locale keys are used in this file
// eslint-disable-next-line import/no-unresolved
import locales from "virtual:mastodon-sw-locales";
const MAX_NOTIFICATIONS = 5;