2023-05-09 12:18:28 +02:00
|
|
|
ci:
|
|
|
|
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
|
|
|
|
# the frequency of unnecessary PRs.
|
|
|
|
# https://github.com/pre-commit-ci/issues/issues/83
|
|
|
|
autoupdate_schedule: quarterly
|
|
|
|
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-05-19 06:11:59 +02:00
|
|
|
rev: v4.6.0
|
2023-05-09 12:18:28 +02:00
|
|
|
hooks:
|
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-case-conflict
|
|
|
|
- id: check-executables-have-shebangs
|
|
|
|
- id: check-shebang-scripts-are-executable
|
|
|
|
- id: destroyed-symlinks
|
|
|
|
- id: detect-private-key
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: fix-byte-order-marker
|
|
|
|
- id: trailing-whitespace
|
|
|
|
exclude_types: [markdown]
|
|
|
|
|
2024-05-19 06:11:59 +02:00
|
|
|
- repo: https://github.com/rbubley/mirrors-prettier
|
|
|
|
rev: "v3.2.5"
|
2023-05-09 12:18:28 +02:00
|
|
|
hooks:
|
|
|
|
- id: prettier
|
|
|
|
|
|
|
|
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
2024-05-19 06:11:59 +02:00
|
|
|
rev: "2.7.3"
|
2023-05-09 12:18:28 +02:00
|
|
|
hooks:
|
|
|
|
- id: editorconfig-checker
|
|
|
|
alias: ec
|
|
|
|
args: [-disable-max-line-length]
|