mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +00:00
js: Convert static/js/blueslip.js to ES6 module.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Steve Howell
parent
b0ceaa1ea0
commit
3ef6f6e2e2
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user