Stop eslint complaining

This commit is contained in:
Oliver Blanthorn 2021-01-27 12:50:34 +01:00
parent 52ad19d09f
commit 3998887ff2
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -1348,7 +1348,8 @@ export async function getAsync(
*/
export async function push() {
const local_conf = await browser.storage.local.get(CONFIGNAME)
delete (local_conf[CONFIGNAME] as default_config).customthemes
// eslint-disable-next-line @typescript-eslint/dot-notation
delete local_conf[CONFIGNAME]["customthemes"]
return browser.storage.sync.set(local_conf)
}