1 Star 0 Fork 0

liq07lzucn/shellcheck-precommit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README.md.template 690 Bytes
一键复制 编辑 原始数据 按行查看 历史
Vidar Holen 提交于 2021-08-29 16:03 . Initial version
# ShellCheck pre-commit hook
This is the official [pre-commit hook](https://pre-commit.com/) for
[ShellCheck](https://github.com/koalaman/shellcheck),
the static analysis tool for shell scripts.
Activate by adding it to your `.pre-commit-config.yaml`:
```sh
repos:
- repo: https://github.com/koalaman/shellcheck-precommit
rev: $VERSION
hooks:
- id: shellcheck
# args: ["--severity=warning"] # Optionally only show errors and warnings
```
#### Why a separate repo?
This repo keeps the pre-commit hook out of the critical path of ShellCheck
releases, reducing the number of things that can go wrong. This in turn helps
ensure a smoother `pre-commit autoupdate`.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qiangge_666/shellcheck-precommit.git
git@gitee.com:qiangge_666/shellcheck-precommit.git
qiangge_666
shellcheck-precommit
shellcheck-precommit
master

搜索帮助