chore(pre-commit): activate conventional commits validation hook
This commit is contained in:
@@ -1,27 +1,41 @@
|
|||||||
repos:
|
repos:
|
||||||
|
- repo: https://github.com/compilerla/conventional-pre-commit
|
||||||
|
rev: v2.4.0
|
||||||
|
hooks:
|
||||||
|
- id: conventional-pre-commit
|
||||||
|
stages: [commit-msg]
|
||||||
|
|
||||||
- repo: https://github.com/gitleaks/gitleaks
|
- repo: https://github.com/gitleaks/gitleaks
|
||||||
rev: v8.21.2
|
rev: v8.21.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: gitleaks
|
- id: gitleaks
|
||||||
|
stages: ['pre-commit']
|
||||||
|
|
||||||
- repo: https://github.com/jumanjihouse/pre-commit-hooks
|
- repo: https://github.com/jumanjihouse/pre-commit-hooks
|
||||||
rev: 3.0.0
|
rev: 3.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: shellcheck
|
- id: shellcheck
|
||||||
args: [--severity=warning]
|
args: [--severity=warning]
|
||||||
|
stages: ['pre-commit']
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.5.0
|
rev: v4.5.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
stages: ['pre-commit']
|
||||||
- id: check-json
|
- id: check-json
|
||||||
|
stages: ['pre-commit']
|
||||||
- id: pretty-format-json
|
- id: pretty-format-json
|
||||||
|
stages: ['pre-commit']
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
|
stages: ['pre-commit']
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
|
stages: ['pre-commit']
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: skill-frontmatter
|
- id: skill-frontmatter
|
||||||
|
stages: ['pre-commit']
|
||||||
name: SKILL.md frontmatter validation
|
name: SKILL.md frontmatter validation
|
||||||
description: Ensure SKILL.md files have required frontmatter fields
|
description: Ensure SKILL.md files have required frontmatter fields
|
||||||
entry: bash
|
entry: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user