zulip/static/js
Arpith Siromoney 497c7702cc Run eslint in tools/lint-all with npm run --silent lint
This commit adds a basic eslintrc that emulates jslint defaults.
Rules that conflict with our existing code have been switched to
warnings instead of errors. Globals have been added to the eslintrc. The
bundled js file (generated by webpack) and blueslip.js are ignored with
.eslintignore.

To display warnings, run npm run lint-loud. This runs eslint without the
--quiet option on static/js and frontend_tests.

npm run --silent lint is run by tools/lint-all (in addition to jslint).
The --silent option is used to suppress the default output from npm run.

Fixes #535.
2016-11-18 16:15:45 -08:00
..
src Make English the fallback language in i18next. 2016-08-10 16:06:57 -07:00
.eslintrc Run eslint in tools/lint-all with npm run --silent lint 2016-11-18 16:15:45 -08:00
activity.js presence: Convert presence_info to use user IDs. 2016-11-17 13:27:28 -08:00
admin.js Add initial implementation of custom realm filters. 2016-11-17 17:11:25 -08:00
alert_words.js Add and use util.is_current_user helper function. 2016-06-07 21:58:44 -07:00
alert_words_ui.js alert_words: Use the ID to reference create_alert_word_button. 2016-09-19 14:23:11 -07:00
api.js
avatar.js Update types of images accepted as avatars. 2016-07-26 16:36:47 +05:30
blueslip.js debug: Fix actual traceback being hidden in blueslip. 2016-08-09 11:59:49 -07:00
bot_data.js Add and use util.is_current_user helper function. 2016-06-07 21:58:44 -07:00
channel.js Switching from $.parseJSON to JSON.parse. 2016-08-25 14:22:48 -07:00
click_handlers.js Code Simplification and Emoji Drag Fix. 2016-11-17 11:21:15 -08:00
colorspace.js
common.js
components.js Add toggle component. 2016-11-15 10:20:37 -08:00
compose.js Send dicts for cross realm users to JS. 2016-11-03 09:51:23 -07:00
compose_fade.js lint: Require folding of } on same line as else statements. 2016-06-09 14:02:49 -07:00
composebox_typeahead.js Limit compose at-mention typeaheads to realm users. 2016-11-09 19:20:58 -08:00
condense.js Fix collapsing messages in narrowed views. 2016-03-20 16:58:57 -07:00
copy_and_paste.js lint: Require folding of } on same line as else statements. 2016-06-09 14:02:49 -07:00
custom_markdown.js markdown: Make subscribe notification translator friendly. 2016-10-09 11:19:19 -07:00
debug.js
dict.js
echo.js echo: Fix local echo sending a message to "yourself, ". 2016-11-14 21:43:13 -08:00
emoji.js Add emoji map to the compose box. 2016-10-10 16:12:25 -07:00
favicon.js Switch from deprecated $.browser to userAgent test. 2016-08-25 14:12:58 -07:00
feature_flags.js feature_flags: Eliminate always true negated_search feature. 2016-10-11 20:50:47 -07:00
fenced_code.js Update Pygments to latest upstream version. 2016-09-12 21:58:25 -07:00
filter.js search: Fix searching for URLs. 2016-10-16 15:25:46 -07:00
floating_recipient_bar.js
gear_menu.js stream_filtering: Filter streams on subscriptions page. 2016-10-16 12:59:41 -07:00
hashchange.js hashchange: Add hashchange ignore mechanism for overlays. 2016-11-15 11:53:38 -08:00
hotkey.js Add emoji map to the compose box. 2016-10-10 16:12:25 -07:00
invite.js Switching from $.parseJSON to JSON.parse. 2016-08-25 14:22:48 -07:00
loading.js
localstorage.js
message_edit.js message_edit: Fix message editing for messages that threw a backend error. 2016-11-10 16:45:18 -08:00
message_flags.js Replace /json/update_message_flags with REST style route. 2016-04-11 21:38:22 -07:00
message_list.js Rename hashchange.zulip event to avoid jquery 1.8 interaction. 2016-07-08 11:09:09 -07:00
message_list_view.js Fix traceback rendering narrows to non-subscribed streams. 2016-09-19 22:10:52 -07:00
message_store.js Extract static/js/pm_list.js. 2016-11-11 12:12:13 -08:00
muting.js Update unread counts for streams when muting topics. 2016-03-27 13:49:52 -07:00
muting_ui.js Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
narrow.js Add narrow.topic() helper method. 2016-11-10 15:55:31 -08:00
navigate.js lint: Require folding of } on same line as else statements. 2016-06-09 14:02:49 -07:00
notifications.js Add user setting option to always send push notifications. 2016-10-25 10:52:29 -07:00
people.js people.js: Add methods for user_ids_string/emails_string. 2016-11-15 18:31:59 -08:00
pm_list.js Refactor PM unread counts to use user_ids as keys. 2016-11-15 18:31:59 -08:00
pointer.js js: Move pointer initialization code out of zulip.js. 2016-11-05 11:33:04 -07:00
popovers.js buddy list: Sidebar menu now uses user_id, not email. 2016-11-15 18:31:59 -08:00
referral.js Handle invite remaining translation in JS. 2016-10-13 15:07:37 -07:00
reload.js Move narrowed_msg_list to message_list.js. 2016-04-26 10:25:11 -07:00
resize.js Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
rows.js
scroll_bar.js
search.js
search_suggestion.js Use people.get_all_persons() for search_suggestion.js. 2016-11-01 13:55:48 -07:00
server_events.js Add initial implementation of custom realm filters. 2016-11-17 17:11:25 -08:00
settings.js Add user setting option to always send push notifications. 2016-10-25 10:52:29 -07:00
setup.js Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
signup.js
socket.js
stream_color.js subs: Move stream settings into an independent overlay. 2016-11-04 17:13:26 -07:00
stream_data.js Change stream_data.remove_subscriber() to accept user ids. 2016-11-09 15:03:08 -08:00
stream_list.js Move more unread logic out of stream_list.js. 2016-11-14 17:50:55 -08:00
subs.js subs: Fix clearing filter table on subscribe. 2016-11-15 12:49:40 -08:00
tab_bar.js
templates.js templates: Fix stack traces throwing handlebars errors. 2016-10-27 22:06:56 -07:00
timerender.js timerender: Export render_now. 2016-10-11 16:48:05 -07:00
topic_list.js Remove spurious blueslip error for topic lists. 2016-11-16 22:01:30 -08:00
tutorial.js tutorial: Remove low-quality alert bar onboarding flow. 2016-11-02 23:41:16 -07:00
typeahead_helper.js Encapsulate pm_recipient_count. 2016-11-03 16:20:45 -07:00
ui.js edit: Fix "View source" icon being orphaned post-hover. 2016-11-16 14:03:54 -08:00
unread.js Refactor PM unread counts to use user_ids as keys. 2016-11-15 18:31:59 -08:00
unread_ui.js Move more unread logic out of stream_list.js. 2016-11-14 17:50:55 -08:00
util.js echo: Fix local echo sending a message to "yourself, ". 2016-11-14 21:43:13 -08:00
viewport.js Move recenter_view to viewport.js. 2016-05-27 01:03:21 -07:00
zulip.js js: Eliminate process_loaded_for_unread global. 2016-11-05 11:33:04 -07:00