mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
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:
committed by
Tim Abbott
parent
a5511b3fbb
commit
c66a848c97
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user