Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

eslint: Remove unneeded globals.

Anders Kaseorga58e832884f4
diff --git a/.eslintrc.json b/.eslintrc.json
index 3d8d820cc29..7396b0223f3 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -114,14 +114,6 @@
"location": false
}
},
- {
- "files": ["frontend_tests/puppeteer_lib/**", "frontend_tests/puppeteer_tests/**"],
- "globals": {
- "$": false,
- "current_msg_list": false,
- "zulip_test": false
- }
- },
{
"files": ["static/js/**"],
"globals": {
@@ -129,19 +121,11 @@
"blueslip": false,
"csrf_token": false,
"current_msg_list": true,
- "favicon": false,
- "flatpickr": false,
- "history": false,
"home_msg_list": false,
"i18n": false,
"jQuery": false,
- "localStorage": false,
- "location": false,
"page_params": false,
- "pointer": false,
- "realm_night_logo": false,
"StripeCheckout": false,
- "ui_init": false,
"zxcvbn": false
}
},
diff --git a/static/js/global.d.ts b/static/js/global.d.ts
index fb79c90e2ea..13ea15b953f 100644
--- a/static/js/global.d.ts
+++ b/static/js/global.d.ts
@@ -6,12 +6,9 @@
declare let blueslip: any;
declare let csrf_token: any;
declare let current_msg_list: any;
-declare let emoji: any;
-declare let favicon: any;
declare let home_msg_list: any;
declare let i18n: any;
declare let page_params: any;
-declare let pointer: any;
declare let zulip_test: any;
interface JQuery {