{pre-commit,*.json}: use tabs for intendion

This commit is contained in:
Aminda Suomalainen 2024-07-29 09:22:14 +03:00
parent 9cc83a628d
commit e5bd31559b
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
54 changed files with 1479 additions and 1472 deletions

View File

@ -97,6 +97,6 @@ end_of_line = crlf
# YAML requires spaces. The GitHub citation files look YAML to me. # YAML requires spaces. The GitHub citation files look YAML to me.
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files # https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files
[*.{cff,yaml,yml,json}] [*.{cff,yaml,yml}]
indent_style = space indent_style = space
indent_size = 2 indent_size = 2

View File

@ -41,7 +41,14 @@ repos:
args: args:
# Remember also: --no-sort-keys # Remember also: --no-sort-keys
# ASCII excludes the älphäbet amongst others # ASCII excludes the älphäbet amongst others
[--autofix, --no-ensure-ascii, --top-keys, "Name,name"] [
--autofix,
--indent,
"\t",
--no-ensure-ascii,
--top-keys,
"Name,name",
]
# Markdown Table of Contents generation. # Markdown Table of Contents generation.
- repo: https://github.com/thlorenz/doctoc - repo: https://github.com/thlorenz/doctoc