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:
Tim Abbott 2022-12-06 15:47:47 -08:00
parent e9045dcd58
commit 158352c339
1 changed files with 0 additions and 5 deletions

View File

@ -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.",