aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-06-28 12:40:02 -0400
committerGitHub <noreply@github.com>2020-06-28 12:40:02 -0400
commit7b5dd5c310f7ec4d7f6e329367d34258cce10e8e (patch)
tree00151155ea5f3dc438c9230e485a72613a41d00f /.eslintrc.json
parentcdf191336aa616a206b977ba3beeb1233cf41c32 (diff)
Update browser compatibility and Edge detection (#629)
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json11
1 files changed, 8 insertions, 3 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index b7ed0164..018e23b4 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -83,6 +83,12 @@
},
"overrides": [
{
+ "files": ["ext/mixed/js/core.js"],
+ "env": {
+ "webextensions": false
+ }
+ },
+ {
"files": ["ext/**/*.js"],
"excludedFiles": ["ext/mixed/js/core.js"],
"globals": {
@@ -101,8 +107,7 @@
"deferPromise": "readonly",
"clone": "readonly",
"EventDispatcher": "readonly",
- "EventListenerCollection": "readonly",
- "EXTENSION_IS_BROWSER_EDGE": "readonly"
+ "EventListenerCollection": "readonly"
}
},
{
@@ -116,7 +121,7 @@
}
},
{
- "files": ["ext/mixed/js/core.js"],
+ "files": ["ext/mixed/js/yomichan.js"],
"globals": {
"chrome": "writable"
}