You've already forked dts-scripts
mirror of
https://github.com/Dasharo/dts-scripts.git
synced 2026-03-06 15:01:22 -08:00
59 lines
1.3 KiB
YAML
59 lines
1.3 KiB
YAML
---
|
|
default_stages: [pre-commit]
|
|
|
|
default_install_hook_types: [pre-commit, commit-msg]
|
|
|
|
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: v6.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.4.1
|
|
hooks:
|
|
- id: codespell
|
|
|
|
- repo: https://github.com/adrienverge/yamllint
|
|
rev: v1.37.1
|
|
hooks:
|
|
- id: yamllint
|
|
args: [-c=.yamllint]
|
|
|
|
- repo: https://github.com/igorshubovych/markdownlint-cli
|
|
rev: v0.45.0
|
|
hooks:
|
|
- id: markdownlint
|
|
- id: markdownlint-fix
|
|
|
|
- repo: https://github.com/koalaman/shellcheck-precommit
|
|
rev: v0.11.0
|
|
hooks:
|
|
- id: shellcheck
|
|
args: ["--severity=warning"]
|
|
|
|
- repo: https://github.com/scop/pre-commit-shfmt
|
|
rev: v3.12.0-2
|
|
hooks:
|
|
- id: shfmt
|
|
args: ["-i", "2", "-w"]
|