added pre-commit and secrets check

This commit is contained in:
2026-05-09 11:12:51 -06:00
parent 94b2c40db1
commit acb75bff40
2 changed files with 609 additions and 0 deletions

20
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,20 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
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-added-large-files
- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
args: ['--baseline', '.secrets.baseline']
exclude: lazy-lock.json
- repo: https://github.com/JohnnyMorganz/StyLua
rev: v2.4.1
hooks:
- id: stylua