From a1ffddc481f4e510731ad349d949b51f6b8ffcd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Val=C3=A9ry=20Febvre?= Date: Tue, 20 Dec 2022 16:39:37 +0100 Subject: [PATCH] Refine 6c7621e and 4eac0983 --- .editorconfig | 3 +++ .pre-commit-config.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/.editorconfig b/.editorconfig index 71f147cd..f7f35904 100644 --- a/.editorconfig +++ b/.editorconfig @@ -21,6 +21,9 @@ indent_size = 2 [*.json] insert_final_newline = ignore +[*.md] +trim_trailing_whitespace = false + # Makefiles always use tabs for indentation [Makefile] indent_style = tab diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ae1e12eb..b5d72eab 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,6 +23,7 @@ repos: args: [--markdown-linebreak-ext=md] - id: check-executables-have-shebangs - id: end-of-file-fixer + exclude: ^.*\.json$ - repo: https://github.com/pycqa/flake8 rev: 6.0.0