2023-03-12 09:32:02 -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-25 09:03:24 -07:00
|
|
|
- id: detect_debug
|
|
|
|
name: detect debug
|
|
|
|
language: pygrep
|
|
|
|
entry: DEBUG
|
|
|
|
pass_filenames: true
|
|
|
|
exclude: .pre-commit-config.yaml
|
|
|
|
fail_fast: true
|
2023-04-13 15:22:55 -07:00
|
|
|
- id: stylua
|
|
|
|
name: stylua
|
|
|
|
language: system
|
|
|
|
entry: stylua
|
|
|
|
pass_filenames: true
|
|
|
|
types: [ file, lua ]
|
2023-05-25 09:03:24 -07:00
|
|
|
fail_fast: true
|
2023-03-12 09:32:02 -07:00
|
|
|
- id: luacheck
|
|
|
|
name: luacheck
|
|
|
|
language: system
|
|
|
|
entry: luacheck
|
|
|
|
pass_filenames: true
|
|
|
|
types: [ file, lua ]
|
|
|
|
args: [ -q ]
|
2023-05-25 09:03:24 -07:00
|
|
|
fail_fast: true
|