1
0
mirror of https://github.com/Sokomine/cottages.git synced 2024-11-16 23:40:30 +01:00
cottages/.pre-commit-config.yaml
2023-01-23 16:07:35 -08:00

26 lines
589 B
YAML

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:
- id: luacheck
name: luacheck
language: system
entry: luacheck
pass_filenames: true
types: [ file, lua ]
args: [ -q ]
- id: stylua
name: stylua
language: system
entry: stylua
pass_filenames: true
types: [ file, lua ]