From 94bd21e16e32fd868b2d06476b18513a69bcd9e3 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Mon, 31 Oct 2022 23:40:34 +0100 Subject: [PATCH] pre-commit: enable prettier for markdown --- .pre-commit-config.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8bd52ff2..842120da 100644 --- a/.pre-commit-config.yaml +++ b/.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"