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 Markdown files to Prettier linter.

Anders Kaseorgc3448370a492
diff --git a/tools/lint b/tools/lint
index 7fc70c83eba..94495d59d8c 100755
--- a/tools/lint
+++ b/tools/lint
@@ -166,7 +166,7 @@ def run() -> None:
linter_config.external_linter(
"prettier",
["node_modules/.bin/prettier", "--check", "--loglevel=warn"],
- ["css", "flow", "js", "json", "ts", "yaml", "yml"],
+ ["css", "flow", "js", "json", "md", "ts", "yaml", "yml"],
fix_arg=["--write"],
description="Formats CSS, JavaScript, YAML",
)