pre-commit: enable prettier for markdown
MODIFY
.pre-commit-config.yaml
.pre-commit-config.yaml
@@ -42,8 +42,9 @@ repos:
args:
- --profile=black
- # # Autoformat: markdown, yaml (but not helm templates)
- # - repo: https://github.com/pre-commit/mirrors-prettier
- # rev: v2.7.1
- # hooks:
- # - id: prettier
+ # Autoformat: markdown
+ - repo: https://github.com/pre-commit/mirrors-prettier
+ rev: v2.7.1
+ hooks:
+ - id: prettier
+ files: ".md"

pre-commit: enable prettier for markdown