zulip/static/js
Anders Kaseorg 7a0a186e5f tsconfig: Remove redundant options.
`--jsx preserve` and `--removeComments false` are already the default.
`--strict` already implies `--noImplicitAny`, `--noImplicitThis`,
`--alwaysStrict`.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-10-30 13:12:54 -07:00
..
analytics support: Show confirmation links in search. 2019-10-21 16:56:50 -07:00
billing js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
bundles bundles: Factor out portico bundle. 2019-10-28 15:53:15 -07:00
js_typings typing_status: Convert to ES6 module. 2019-10-17 16:48:23 -07:00
portico eslint: Enable sort-imports rule. 2019-10-30 13:10:25 -07:00
stats js: Break lines that become too long after converting var to const. 2019-10-28 15:02:43 -07:00
.eslintrc.json
activity.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
admin.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
alert_words.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
alert_words_ui.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
archive.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
attachments_ui.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
avatar.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
blueslip.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
bot_data.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
buddy_data.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
buddy_list.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
channel.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
click_handlers.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
color_data.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
colorspace.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
common.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
components.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
compose.js js: Add braces to case blocks declaring variables. 2019-10-28 15:02:43 -07:00
compose_actions.js js: Convert vars declared separately and assigned once to const. 2019-10-28 15:02:43 -07:00
compose_fade.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
compose_pm_pill.js js: Convert vars declared separately and assigned once to const. 2019-10-28 15:02:43 -07:00
compose_state.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
compose_ui.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
composebox_typeahead.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
condense.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
confirm_dialog.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
copy_and_paste.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
csrf.js csrf: Improve API for when no CSRF input is available. 2018-12-16 16:19:23 -08:00
debug.js eslint: Enable `no-extra-parens` rule. 2018-06-11 07:51:24 -04:00
dict.ts dependencies: Upgrade @typescript-eslint/eslint-plugin to 1.9.0. 2019-06-03 12:24:00 -07:00
drafts.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
echo.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
emoji.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
emoji_picker.js emoji_picker: Clear search_results by assigning 0 to its length. 2019-10-28 15:02:43 -07:00
favicon.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
feature_flags.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
feedback_widget.js js: Convert self-referential vars to const. 2019-10-28 15:02:43 -07:00
fenced_code.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
fetch_status.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
filter.js js: Convert vars declared separately and assigned once to const. 2019-10-28 15:02:43 -07:00
floating_recipient_bar.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
gear_menu.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
hash_util.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
hashchange.js js: Add braces to case blocks declaring variables. 2019-10-28 15:02:43 -07:00
hotkey.js js: Add braces to case blocks declaring variables. 2019-10-28 15:02:43 -07:00
hotspots.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
info_overlay.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
input_pill.js js: Convert self-referential vars to const. 2019-10-28 15:02:43 -07:00
integration_bot_widget.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
invite.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
keydown_util.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
lightbox.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
lightbox_canvas.js js: Convert self-referential vars to const. 2019-10-28 15:02:43 -07:00
list_cursor.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
list_render.js js: Convert self-referential vars to const. 2019-10-28 15:02:43 -07:00
list_util.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
loading.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
local_message.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
localstorage.js js: Convert self-referential vars to const. 2019-10-28 15:02:43 -07:00
markdown.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
message_edit.js js: Convert self-referential vars to const. 2019-10-28 15:02:43 -07:00
message_events.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
message_fetch.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
message_flags.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
message_list.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
message_list_data.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
message_list_view.js js: Break lines that become too long after converting var to const. 2019-10-28 15:02:43 -07:00
message_live_update.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
message_scroll.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
message_store.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
message_util.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
message_viewport.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
muting.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
muting_ui.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
narrow.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
narrow_state.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
navigate.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
night_mode.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
notifications.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
overlays.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
padded_widget.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
page_params.js page_params: Throw an error if params are missing. 2019-09-20 10:34:44 -07:00
panels.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
people.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
pm_conversations.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
pm_list.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
pointer.js pointer: Fix pointer update. 2019-10-30 11:50:15 -07:00
poll_widget.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
popovers.js js: Add braces to case blocks declaring variables. 2019-10-28 15:02:43 -07:00
presence.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
reactions.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
ready.js templates: Make the Loading… message more robust. 2019-09-20 10:34:44 -07:00
realm_icon.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
realm_logo.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
recent_senders.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
reload.js js: Convert vars declared separately and assigned once to const. 2019-10-28 15:02:43 -07:00
reload_state.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
reminder.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
resize.js js: Convert vars declared separately and assigned once to const. 2019-10-28 15:02:43 -07:00
rows.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
rtl.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
schema.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
scroll_bar.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
scroll_util.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
search.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
search_pill.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
search_pill_widget.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
search_suggestion.js js: Convert vars declared separately and assigned once to const. 2019-10-28 15:02:43 -07:00
search_util.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
sent_messages.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
server_events.js js: Add braces to case blocks declaring variables. 2019-10-28 15:02:43 -07:00
server_events_dispatch.js js: Add braces to case blocks declaring variables. 2019-10-28 15:02:43 -07:00
settings.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_account.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_bots.js js: Convert vars declared separately and assigned once to const. 2019-10-28 15:02:43 -07:00
settings_display.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_emoji.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_exports.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_invites.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_linkifiers.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_muting.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_notifications.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_org.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_panel_menu.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_profile_fields.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_sections.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_streams.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_toggle.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_ui.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_user_groups.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
settings_users.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
setup.js js: Extract csrf.js and include in common bundle. 2018-12-16 16:18:42 -08:00
socket.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
starred_messages.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
stream_color.js js: Convert vars declared separately and assigned once to const. 2019-10-28 15:02:43 -07:00
stream_create.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
stream_data.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
stream_edit.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
stream_events.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
stream_list.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
stream_muting.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
stream_popover.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
stream_sort.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
stream_ui_updates.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
submessage.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
subs.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
tab_bar.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
templates.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
tictactoe_widget.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
timerender.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
todo_widget.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
top_left_corner.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
topic_data.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
topic_generator.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
topic_list.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
topic_zoom.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
translations.js i18n: Fix reference error for localstorage. 2018-05-30 23:28:21 +05:30
transmit.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
tsconfig.json tsconfig: Remove redundant options. 2019-10-30 13:12:54 -07:00
tslint.json typescript: Move TS files into JS directory. 2019-03-25 12:11:37 -07:00
tutorial.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
typeahead_helper.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
typing.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
typing_data.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
typing_events.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
ui.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
ui_init.js js: Convert vars declared separately and assigned once to const. 2019-10-28 15:02:43 -07:00
ui_report.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
ui_util.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
unread.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
unread_ops.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
unread_ui.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
upload.js js: Add braces to case blocks declaring variables. 2019-10-28 15:02:43 -07:00
upload_widget.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
user_events.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
user_groups.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
user_pill.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
user_search.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
user_status.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
user_status_ui.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
util.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
widgetize.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
zcommand.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
zform.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
zulip.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00