IgorKha.wireguard-mikrotik/.pre-commit-config.yaml
github-actions[bot] 5d76137d7c
misc: Version bump pre-commit hook plugins (#4)
Co-authored-by: IgorKha <IgorKha@users.noreply.github.com>
2023-06-19 03:16:24 +05:00

45 lines
1.1 KiB
YAML

# Read the docs here: https://pre-commit.com and http://jorisroovers.github.io/gitlint/
# Install hooks to your clone:
# $ pre-commit install --install-hooks
# and
# $ pre-commit install --install-hooks -t commit-msg
default_stages: [commit]
fail_fast: false
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-case-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/jorisroovers/gitlint
rev: v0.19.1
hooks:
- id: gitlint
name: Commit message check
language: python
entry: gitlint --msg-filename
stages: [commit-msg]
- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
hooks:
- id: codespell
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.9.0
hooks:
- id: shellcheck
args: ['--shell=bash', '--color=always']
files: '\.sh$'
types: ['file', 'text']
# kate: indent-width 2; tab-width 2;