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: Add cjs suffixes to JS checks.

Steve Howell6a4102f9faa7
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py
index e241cc7ef5a..20e6b4e5297 100644
--- a/tools/linter_lib/custom_check.py
+++ b/tools/linter_lib/custom_check.py
@@ -113,7 +113,7 @@ markdown_whitespace_rules: list["Rule"] = [
js_rules = RuleList(
- langs=["js", "ts"],
+ langs=["cjs", "js", "ts"],
rules=[
{
"pattern": "subject|SUBJECT",