Add service worker #33
Annotations
10 errors
check-code-style:
public/sw.js#L5
'importScripts' is not defined
|
check-code-style:
public/sw.js#L5
Replace `'https://storage.googleapis.com/workbox-cdn/releases/5.1.2/workbox-sw.js'` with `"https://storage.googleapis.com/workbox-cdn/releases/5.1.2/workbox-sw.js"`
|
check-code-style:
public/sw.js#L13
'workbox' is not defined
|
check-code-style:
public/sw.js#L14
Use a regular expression literal instead of the 'RegExp' constructor
|
check-code-style:
public/sw.js#L14
Use the 'u' flag
|
check-code-style:
public/sw.js#L14
Replace `'/*'` with `"/*"`
|
check-code-style:
public/sw.js#L15
'workbox' is not defined
|
check-code-style:
public/sw.js#L16
Insert `,`
|
check-code-style:
public/sw.js#L17
Insert `,`
|
check-code-style:
public/sw.js#L18
Insert `⏎`
|