lint: Remove custom // spacing rule.

Commit 7f89cb9535 (#17822) enabled the
ESLint spaced-comment rule.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2021-04-13 14:50:50 -07:00 committed by Tim Abbott
parent a5511b3fbb
commit c66a848c97
1 changed files with 0 additions and 2 deletions

View File

@ -140,8 +140,6 @@ js_rules = RuleList(
"pattern": "[\"']json/",
"description": "Relative URL for JSON route not supported by i18n",
},
# This rule is constructed with + to avoid triggering on itself
{"pattern": "^[ ]*//[A-Za-z0-9]", "description": "Missing space after // in comment"},
{
"pattern": r"""[.]text\(["'][a-zA-Z]""",
"description": "Strings passed to $().text should be wrapped in $t() for internationalization",