mirror of
https://github.com/floccusaddon/floccus
synced 2025-04-29 15:47:21 +08:00
Eslint: Remove webextension env
since we don't always have access to it (e.g. in the native app)
This commit is contained in:
parent
56facdcd36
commit
83630179c0
@ -4,7 +4,6 @@
|
||||
"commonjs": true,
|
||||
"es6": true,
|
||||
"node": true,
|
||||
"webextensions": true,
|
||||
"mocha": true
|
||||
},
|
||||
"parserOptions": {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* global ChromePromise */
|
||||
/* global ChromePromise chrome browser */
|
||||
let b
|
||||
if (typeof browser === 'undefined' && typeof chrome !== 'undefined') {
|
||||
b = new ChromePromise()
|
||||
|
Loading…
x
Reference in New Issue
Block a user