mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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:
committed by
Tim Abbott
parent
d81ce3ba76
commit
82bf185b1b
@@ -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",
|
||||
)
|
||||
|
Reference in New Issue
Block a user