mirror of https://github.com/zulip/zulip.git
lint: Remove stale compose_error linter rule.
The module has been renamed, but also the original linter rule was likely ineffective because of the length of compose_banner calls anyway. I'm not particularly worried about future internationalization bugs here, so removing seems better than replacing it.
This commit is contained in:
parent
e9045dcd58
commit
158352c339
|
@ -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.",
|
||||
|
|
Loading…
Reference in New Issue