From 197b1d3d82214b8b38f04fd314d77740043bf06b Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Sat, 18 Nov 2023 18:13:59 +0100 Subject: [PATCH] feat: pre-commit improvements --- .markdownlint.json | 4 ++++ .pre-commit-config.yaml | 1 + .vscode/settings.json | 7 +++++++ 3 files changed, 12 insertions(+) create mode 100644 .markdownlint.json diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 0000000..e120670 --- /dev/null +++ b/.markdownlint.json @@ -0,0 +1,4 @@ +{ + "MD013": false, + "MD033": false +} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1e23bbc..cc97dfd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -46,3 +46,4 @@ repos: - id: markdownlint args: - -r "~MD013" # ignore line-length rule + - -r "~MD033" # ignore no-inline-html rule diff --git a/.vscode/settings.json b/.vscode/settings.json index 8127ea8..bcb7008 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,11 @@ { "editor.formatOnPaste": true, + "json.schemas": [ + { + "fileMatch": [ ".pre-commit-config.yaml" ], + "url": "https://json.schemastore.org/pre-commit-config.json" + } + ], "cSpell.words": [ "adduser", @@ -132,6 +138,7 @@ "winget", "wlan", "xattr", + "xkcd", "zstd" ],