bookrunner/.pre-commit-config.yaml

42 lines
1,009 B
YAML
Raw Normal View History

2022-09-30 10:12:14 -07:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
hooks:
- id: fix-byte-order-marker
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
args: [ --fix=lf ]
- repo: local
hooks:
2023-05-12 09:44:08 -07:00
- id: detect_debug
name: detect debug
language: pygrep
entry: DEBUG
2022-11-27 10:27:09 -08:00
pass_filenames: true
2023-05-12 09:44:08 -07:00
exclude: .pre-commit-config.yaml
fail_fast: true
2024-09-11 15:22:27 -07:00
- id: date_version
name: date version
language: script
entry: .check_date.sh
files: mod.conf
always_run: true
fail_fast: true
2022-11-27 10:27:09 -08:00
- id: stylua
name: stylua
language: system
entry: stylua
pass_filenames: true
types: [ file, lua ]
2023-05-12 09:44:08 -07:00
fail_fast: true
- id: luacheck
name: luacheck
language: system
entry: luacheck
pass_filenames: true
types: [ file, lua ]
args: [ -q ]
fail_fast: true