the usual .pre-commit-config.yaml and applying

This commit is contained in:
Aminda Suomalainen 2023-02-22 10:42:45 +02:00
parent 1c4dc6b930
commit 6eb6ed647c
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
6 changed files with 44 additions and 25 deletions

View File

@ -10,3 +10,7 @@ indent_size = tab
[*.{yaml,yml,cff}]
indent_style = space
indent_size = 2
[*.md]
indent_style = space
indent_size = 3

View File

@ -13,6 +13,7 @@ repos:
- id: check-shebang-scripts-are-executable
- id: destroyed-symlinks
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- repo: https://github.com/python-jsonschema/check-jsonschema
@ -22,3 +23,13 @@ repos:
- id: check-github-actions
- id: check-github-workflows
- id: check-gitlab-ci
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.4"
hooks:
- id: prettier
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: "2.7.1"
hooks:
- id: editorconfig-checker
alias: ec

View File

@ -1,2 +1,6 @@
# If no protocol is specified, http:// is assumed.
custom: ["https://github.com/liberapay/liberapay.org/issues/30", "https://cv.aminda.eu"]
custom:
[
"https://github.com/liberapay/liberapay.org/issues/30",
"https://cv.aminda.eu",
]

View File

@ -1,3 +1,3 @@
GitHub community health files
* https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/creating-a-default-community-health-file#creating-a-repository-for-default-files
- https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/creating-a-default-community-health-file#creating-a-repository-for-default-files