Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

lint: Remove stale compose_error linter rule.

Tim Abbott158352c33927
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py
index 728a0cafb3d..725113b1d8c 100644
--- a/tools/linter_lib/custom_check.py
+++ b/tools/linter_lib/custom_check.py
@@ -152,11 +152,6 @@ js_rules = RuleList(
"description": "Strings passed to $().text should be wrapped in $t() for internationalization",
"exclude": {"frontend_tests/node_tests/"},
},
- {
- "pattern": r"""compose_error\(["']""",
- "description": "Argument to compose_error should be a literal string translated "
- "by $t_html()",
- },
{
"pattern": r"ui.report_success\(",
"description": "Deprecated function, use ui_report.success.",