mirror of
https://codeberg.org/crowci/crow.git
synced 2025-04-18 04:44:01 +03:00
57 lines
1.6 KiB
YAML
57 lines
1.6 KiB
YAML
# cSpell:ignore checkmake hadolint autofix autoupdate
|
|
repos:
|
|
- repo: meta
|
|
hooks:
|
|
- id: check-hooks-apply
|
|
- id: check-useless-excludes
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
- repo: https://github.com/golangci/golangci-lint
|
|
rev: v2.1.1
|
|
hooks:
|
|
- id: golangci-lint
|
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
|
rev: v0.44.0
|
|
hooks:
|
|
- id: markdownlint
|
|
- repo: https://github.com/hadolint/hadolint
|
|
rev: v2.13.1-beta
|
|
hooks:
|
|
- id: hadolint
|
|
- repo: https://github.com/rbubley/mirrors-prettier
|
|
rev: v3.5.3
|
|
hooks:
|
|
- id: prettier
|
|
- repo: https://github.com/adrienverge/yamllint.git
|
|
rev: v1.37.0
|
|
hooks:
|
|
- id: yamllint
|
|
args: [--strict, -c=.yamllint.yaml]
|
|
- repo: local
|
|
hooks:
|
|
- id: yaml-file-extension
|
|
name: Check if YAML files has *.yaml extension.
|
|
entry: YAML filenames must have .yaml extension.
|
|
language: fail
|
|
files: .yml$
|
|
- repo: https://github.com/editorconfig-checker/editorconfig-checker
|
|
rev: v3.2.1
|
|
hooks:
|
|
- id: editorconfig-checker
|
|
|
|
ci:
|
|
autofix_commit_msg: |
|
|
[pre-commit.ci] auto fixes from pre-commit.com hooks [CI SKIP]
|
|
|
|
for more information, see https://pre-commit.ci
|
|
autofix_prs: true
|
|
autoupdate_branch: ''
|
|
autoupdate_commit_msg: '[pre-commit.ci] pre-commit autoupdate'
|
|
autoupdate_schedule: quarterly
|
|
# NB: hadolint not included in pre-commit.ci
|
|
skip: [check-hooks-apply, check-useless-excludes, hadolint, prettier, golangci-lint]
|
|
submodules: false
|