mirror of https://github.com/zulip/zulip.git
eslint: Remove unneeded globals.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
cce3257f2c
commit
a58e832884
|
@ -114,14 +114,6 @@
|
||||||
"location": false
|
"location": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"files": ["frontend_tests/puppeteer_lib/**", "frontend_tests/puppeteer_tests/**"],
|
|
||||||
"globals": {
|
|
||||||
"$": false,
|
|
||||||
"current_msg_list": false,
|
|
||||||
"zulip_test": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"files": ["static/js/**"],
|
"files": ["static/js/**"],
|
||||||
"globals": {
|
"globals": {
|
||||||
|
@ -129,19 +121,11 @@
|
||||||
"blueslip": false,
|
"blueslip": false,
|
||||||
"csrf_token": false,
|
"csrf_token": false,
|
||||||
"current_msg_list": true,
|
"current_msg_list": true,
|
||||||
"favicon": false,
|
|
||||||
"flatpickr": false,
|
|
||||||
"history": false,
|
|
||||||
"home_msg_list": false,
|
"home_msg_list": false,
|
||||||
"i18n": false,
|
"i18n": false,
|
||||||
"jQuery": false,
|
"jQuery": false,
|
||||||
"localStorage": false,
|
|
||||||
"location": false,
|
|
||||||
"page_params": false,
|
"page_params": false,
|
||||||
"pointer": false,
|
|
||||||
"realm_night_logo": false,
|
|
||||||
"StripeCheckout": false,
|
"StripeCheckout": false,
|
||||||
"ui_init": false,
|
|
||||||
"zxcvbn": false
|
"zxcvbn": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -6,12 +6,9 @@
|
||||||
declare let blueslip: any;
|
declare let blueslip: any;
|
||||||
declare let csrf_token: any;
|
declare let csrf_token: any;
|
||||||
declare let current_msg_list: any;
|
declare let current_msg_list: any;
|
||||||
declare let emoji: any;
|
|
||||||
declare let favicon: any;
|
|
||||||
declare let home_msg_list: any;
|
declare let home_msg_list: any;
|
||||||
declare let i18n: any;
|
declare let i18n: any;
|
||||||
declare let page_params: any;
|
declare let page_params: any;
|
||||||
declare let pointer: any;
|
|
||||||
declare let zulip_test: any;
|
declare let zulip_test: any;
|
||||||
|
|
||||||
interface JQuery {
|
interface JQuery {
|
||||||
|
|
Loading…
Reference in New Issue