chore: bump to eslint-config v2.8.0
(#2651)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
parent
62f70250d5
commit
9da77637b2
48 changed files with 896 additions and 511 deletions
|
@ -32,7 +32,10 @@ async function handleSharedTarget(event: FetchEvent) {
|
|||
}
|
||||
|
||||
async function sendShareTargetMessage(client: Client, data: FormData) {
|
||||
const sharedData: { textParts: string[]; files: File[] } = {
|
||||
const sharedData: {
|
||||
textParts: string[]
|
||||
files: File[]
|
||||
} = {
|
||||
textParts: [],
|
||||
files: [],
|
||||
}
|
||||
|
|
|
@ -67,8 +67,8 @@ if (import.meta.env.PROD) {
|
|||
registerRoute(
|
||||
({ sameOrigin, request, url }) =>
|
||||
sameOrigin
|
||||
&& request.destination === 'image'
|
||||
&& url.pathname.startsWith('/emojis/'),
|
||||
&& request.destination === 'image'
|
||||
&& url.pathname.startsWith('/emojis/'),
|
||||
new StaleWhileRevalidate({
|
||||
cacheName: 'elk-emojis',
|
||||
plugins: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue