js: Convert static/js/blueslip.js to ES6 module.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-03-16 15:38:59 -07:00
committed by Steve Howell
parent b0ceaa1ea0
commit 3ef6f6e2e2
123 changed files with 155 additions and 44 deletions

View File

@@ -116,10 +116,6 @@ js_rules = RuleList(
"pattern": "msgid|MSGID",
"description": 'Avoid using "msgid" as a variable name; use "message_id" instead.',
},
{
"pattern": r".*blueslip.warning\(.*",
"description": "The module blueslip has no function warning, try using blueslip.warn",
},
{
"pattern": r"i18n\.t\([^)]+[^,\{\)]$",
"description": "i18n string should not be a multiline string",