chore: improved repository management

This commit is contained in:
Michele Cereda
2023-12-08 14:46:28 +01:00
parent 65418a1803
commit 5dfd794d0f
4 changed files with 12 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -15,4 +15,4 @@
"redhat.ansible",
"redhat.vscode-yaml"
]
}
}

View File

@@ -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
}
}