1 Star 0 Fork 0

g-k8s/fk-ceph-csi

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.pre-commit-config.yaml 908 Bytes
一键复制 编辑 原始数据 按行查看 历史
---
repos:
# Check if the commit message has a valid sign-off.
- repo: https://github.com/gklein/check_signoff
rev: v1.0.5
hooks:
- id: check-signoff
# Catch gofmt issues, if any.
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.3.5
hooks:
- id: go-fmt
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
# Verify syntax of yaml and json files.
- id: check-json
- id: check-yaml
args: [--multi]
exclude: ^charts/ceph-csi-(cephfs|rbd)/templates/
# Makes sure that files end in a new line.
- id: end-of-file-fixer
# Trims trailing whitespace.
- id: trailing-whitespace
# Run commitlint check on the commit message.
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v2.2.0
hooks:
- id: commitlint
stages: [commit-msg]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/g-k8s/fk-ceph-csi.git
git@gitee.com:g-k8s/fk-ceph-csi.git
g-k8s
fk-ceph-csi
fk-ceph-csi
devel

搜索帮助