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: Apply custom_check.js_rules to TypeScript too.

Anders Kaseorg7f25271d7d37
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py
index f36905e4f0b..9f033cd0b7a 100644
--- a/tools/linter_lib/custom_check.py
+++ b/tools/linter_lib/custom_check.py
@@ -107,7 +107,7 @@ markdown_whitespace_rules: List["Rule"] = [
js_rules = RuleList(
- langs=["js"],
+ langs=["js", "ts"],
rules=[
{
"pattern": "subject|SUBJECT",