mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +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(
|
linter_config.external_linter(
|
||||||
"prettier",
|
"prettier",
|
||||||
["node_modules/.bin/prettier", "--check", "--loglevel=warn"],
|
["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"],
|
fix_arg=["--write"],
|
||||||
description="Formats CSS, JavaScript, YAML",
|
description="Formats CSS, JavaScript, YAML",
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user