From dcbc3d5e093abc95eeef18b03e80bef1f05b8339 Mon Sep 17 00:00:00 2001 From: "Douglas Cerna (Soy Douglas)" Date: Sat, 16 Mar 2024 14:01:23 +0100 Subject: [PATCH] Add pre-commit hooks --- .markdownlint.jsonc | 10 ++++++++++ .pre-commit-config.yaml | 5 +++++ LICENSE | 1 - 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .markdownlint.jsonc diff --git a/.markdownlint.jsonc b/.markdownlint.jsonc new file mode 100644 index 0000000..dc8f15e --- /dev/null +++ b/.markdownlint.jsonc @@ -0,0 +1,10 @@ +{ + "default": true, + "MD010": { + "code_blocks": false + }, + "MD013": { + "code_blocks": false, + "tables": false + } +} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 40eee08..7a5903d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,3 +11,8 @@ repos: rev: "v1.34.0" hooks: - id: "yamllint" +- repo: "https://github.com/pre-commit/pre-commit-hooks" + rev: "v4.5.0" + hooks: + - id: "trailing-whitespace" + - id: "end-of-file-fixer" diff --git a/LICENSE b/LICENSE index a00bcbd..590cc8d 100644 --- a/LICENSE +++ b/LICENSE @@ -423,4 +423,3 @@ the avoidance of doubt, this paragraph does not form part of the public licenses. Creative Commons may be contacted at creativecommons.org. -