.{editorconfig,gitattributes,pre-commit-config-yaml}: add comments, check-yaml

This commit is contained in:
Aminda Suomalainen ⚧ 2023-05-20 12:33:05 +03:00
parent 57200a00c5
commit 7175e402fb
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# See https://editorconfig.org for more information
root = true root = true
[*] [*]

1
.gitattributes vendored
View File

@ -1 +1,2 @@
# See https://www.git-scm.com/docs/gitattributes#_effects for more information
* text=auto eol=lf linguist-detectable * text=auto eol=lf linguist-detectable

View File

@ -1,3 +1,5 @@
# See https://pre-commit.com for more information
# See https://pre-commit.ci for more information
ci: ci:
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease # Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
# the frequency of unnecessary PRs. # the frequency of unnecessary PRs.
@ -11,6 +13,7 @@ repos:
hooks: hooks:
- id: check-added-large-files - id: check-added-large-files
- id: check-case-conflict - id: check-case-conflict
- id: check-yaml
- id: check-executables-have-shebangs - id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable - id: check-shebang-scripts-are-executable
- id: destroyed-symlinks - id: destroyed-symlinks