1 Star 0 Fork 1

中华田园人/Slint

forked from Gitee 极速下载/Slint 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.pre-commit-config.yaml 1.78 KB
一键复制 编辑 原始数据 按行查看 历史
# cSpell: ignore cerr clippy cout cuda oxipng println proto
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: fix-byte-order-marker
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json ### tsconfig.json has non-standard comments
- id: check-toml
- id: check-yaml
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: destroyed-symlinks
- id: trailing-whitespace
- id: end-of-file-fixer
- id: mixed-line-ending
args: ["--fix=lf"]
- repo: https://github.com/hunger/pre-commit-hooks.git
rev: v1.0
hooks:
- id: no-debug
- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v15.0.4
hooks:
- id: clang-format
types_or: [c++, c, c#, cuda, java, objective-c, proto]
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
- id: cmake-lint
- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v6.16.0
hooks:
- id: cspell
- repo: https://github.com/shssoichiro/oxipng
rev: v7.0.0
hooks:
- id: oxipng
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: fmt
# - id: cargo-check ### slow...
# - id: clippy ### slow...
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.4"
hooks:
- id: prettier
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Rust
1
https://gitee.com/Chinese_pastoral_person/Slint.git
git@gitee.com:Chinese_pastoral_person/Slint.git
Chinese_pastoral_person
Slint
Slint
master

搜索帮助