automation_rs/.pre-commit-config.yaml
Dreaded_X 16f9c63898
Some checks failed
Build and deploy automation_rs / Build automation_rs (push) Failing after 13s
Build and deploy automation_rs / Build Docker image (push) Has been skipped
Build and deploy automation_rs / Deploy Docker container (push) Has been skipped
Switched from custom pre-commit script to using the pre-commit tool
2024-05-07 23:40:23 +02:00

33 lines
729 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-toml
- id: check-added-large-files
- id: check-merge-conflict
- repo: https://github.com/doublify/pre-commit-rust
rev: v1.0
hooks:
- id: clippy
- id: fmt
- repo: https://github.com/JohnnyMorganz/StyLua
rev: v0.20.0
hooks:
- id: stylua
- repo: https://github.com/crate-ci/typos
rev: v1.21.0
hooks:
- id: typos
args: ["--force-exclude"]
- repo: https://github.com/pryorda/dockerfilelint-precommit-hooks
rev: v0.1.0
hooks:
- id: dockerfilelint