From 7175e402fbae137b2dd9034fd96726009ce3e78f Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 20 May 2023 12:33:05 +0300 Subject: [PATCH] .{editorconfig,gitattributes,pre-commit-config-yaml}: add comments, check-yaml --- .editorconfig | 2 ++ .gitattributes | 1 + .pre-commit-config.yaml | 3 +++ 3 files changed, 6 insertions(+) diff --git a/.editorconfig b/.editorconfig index d34b203..ad48467 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,3 +1,5 @@ +# See https://editorconfig.org for more information + root = true [*] diff --git a/.gitattributes b/.gitattributes index 50023d5..9705ba2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ +# See https://www.git-scm.com/docs/gitattributes#_effects for more information * text=auto eol=lf linguist-detectable diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6b3b25b..870e9bc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,5 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.ci for more information ci: # Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease # the frequency of unnecessary PRs. @@ -11,6 +13,7 @@ repos: hooks: - id: check-added-large-files - id: check-case-conflict + - id: check-yaml - id: check-executables-have-shebangs - id: check-shebang-scripts-are-executable - id: destroyed-symlinks