From 5dfd794d0fc7c70af903f621da698b9f3347293e Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Fri, 8 Dec 2023 14:46:28 +0100 Subject: [PATCH] chore: improved repository management --- .editorconfig | 3 +++ .pre-commit-config.yaml | 5 +++-- .vscode/extensions.json | 2 +- .vscode/settings.json | 6 +++++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.editorconfig b/.editorconfig index 30d0679..9e0dbfd 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,6 +11,9 @@ charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true +[.vscode/*.json] +insert_final_newline = false + [*.xml] indent_size = 2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d97cc0f..c4014f9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook - rev: v9.9.0 + rev: v9.10.0 hooks: - id: commitlint stages: @@ -17,8 +17,9 @@ repos: - id: check-added-large-files - id: trailing-whitespace args: - - --markdown-linebreak-ext=md # ignore markdown's line break + - --markdown-linebreak-ext=md # ignore markdown file's line break - id: end-of-file-fixer + exclude: ^.vscode/.*\.json$ - id: check-json - id: check-xml - id: check-yaml diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 46b379d..d96267f 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -15,4 +15,4 @@ "redhat.ansible", "redhat.vscode-yaml" ] -} +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 43884c2..30d5a26 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -43,6 +43,7 @@ "diffpdf", "dkms", "dnsmasq", + "dotfiles", "dpkg", "duperemove", "eeprom", @@ -111,6 +112,7 @@ "radeon", "replicatedctl", "rfkill", + "ripsecrets", "rmmod", "rootlv", "rootvg", @@ -121,6 +123,7 @@ "setfacl", "setfattr", "slurm", + "SPIFFE", "sshfs", "sshpass", "subsequentially", @@ -135,6 +138,7 @@ "tmpfs", "tolerations", "tput", + "trufflehog", "turris", "twrp", "uncordon", @@ -150,4 +154,4 @@ "markdown.extension.toc.levels": "2..6", "markdown.extension.toc.orderedList": true -} +} \ No newline at end of file