minetest-balanced_diet-cd2025/.pre-commit-config.yaml

26 lines
589 B
YAML
Raw Normal View History

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-04-13 15:22:55 -07:00
- id: stylua
name: stylua
language: system
entry: stylua
pass_filenames: true
types: [ file, lua ]
2023-03-12 09:32:02 -07:00
- id: luacheck
name: luacheck
language: system
entry: luacheck
pass_filenames: true
types: [ file, lua ]
args: [ -q ]