Files
presentations/.pre-commit-config.yaml
T
pre-commit-ci[bot] 897682c30b pre-commit: autoupdate hooks
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0)
- [github.com/igorshubovych/markdownlint-cli: v0.41.0 → v0.43.0](https://github.com/igorshubovych/markdownlint-cli/compare/v0.41.0...v0.43.0)
2024-11-25 21:41:13 +00:00

61 lines
1.4 KiB
YAML

# SPDX-FileCopyrightText: 2024 3mdeb <contact@3mdeb.com>
#
# SPDX-License-Identifier: Apache-2.0
---
default_stages: [pre-commit]
default_install_hook_types: [pre-commit, commit-msg]
exclude: '^(archive|img)/.*$'
ci:
autoupdate_commit_msg: 'pre-commit: autoupdate hooks'
autofix_prs: false
# docker is not supported on pre-commit.ci
skip: [shellcheck]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: check-symlinks
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
- repo: https://github.com/talos-systems/conform
rev: v0.1.0-alpha.30
hooks:
- id: conform
stages:
- commit-msg
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.43.0
hooks:
- id: markdownlint
- id: markdownlint-fix
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.10.0
hooks:
- id: shellcheck
args: ["--severity=warning"]
- repo: local
hooks:
- id: remark-root-dir
name: Checks if the remark-templates and static content is placed in root directory
entry: ./scripts/check-remark-root.sh
language: script
types_or: [html, markdown]