lint: Add Markdown files to Prettier linter.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit c3448370a4)
This commit is contained in:
Anders Kaseorg
2021-08-20 14:05:13 -07:00
committed by Tim Abbott
parent d81ce3ba76
commit 82bf185b1b

View File

@@ -145,7 +145,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",
)