mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
This is now way more opinionated and aggressive in its settings, but I think that is fine since nobody but me seems to be using this regularly.
45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
# cSpell: ignore clippy
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.1.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
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.1.0
|
|
hooks:
|
|
- id: black
|
|
- 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: v5.9.0
|
|
hooks:
|
|
- id: cspell
|
|
- repo: https://github.com/redwarp/optimize-png-hooks
|
|
rev: v1.1.0
|
|
hooks:
|
|
- id: optimize-png
|
|
- 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: "v2.6.0"
|
|
hooks:
|
|
- id: prettier
|