Eslint: Remove webextension env

since we don't always have access to it (e.g. in the native app)
This commit is contained in:
Marcel Klehr 2021-11-11 15:42:20 +01:00
parent 56facdcd36
commit 83630179c0
2 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,6 @@
"commonjs": true,
"es6": true,
"node": true,
"webextensions": true,
"mocha": true
},
"parserOptions": {

View File

@ -1,4 +1,4 @@
/* global ChromePromise */
/* global ChromePromise chrome browser */
let b
if (typeof browser === 'undefined' && typeof chrome !== 'undefined') {
b = new ChromePromise()