Enforce import order with ESLint (#25096)

This commit is contained in:
Renaud Chaput
2023-05-23 17:15:17 +02:00
committed by GitHub
parent b896b16cb3
commit d27216dc46
355 changed files with 2304 additions and 1366 deletions

View File

@ -2,6 +2,7 @@ import { ExpirationPlugin } from 'workbox-expiration';
import { precacheAndRoute } from 'workbox-precaching';
import { registerRoute } from 'workbox-routing';
import { CacheFirst } from 'workbox-strategies';
import { handleNotificationClick, handlePush } from './web_push_notifications';
const CACHE_NAME_PREFIX = 'mastodon-';

View File

@ -1,5 +1,7 @@
import IntlMessageFormat from 'intl-messageformat';
import { unescape } from 'lodash';
import locales from './web_push_locales';
const MAX_NOTIFICATIONS = 5;