comparison .pre-commit-config.yaml @ 672:627d2040c3ff

Use official stylua pre-commit config
author Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com>
date Thu, 29 Sep 2022 22:32:44 +0200
parents 7004867c436c
children e258ef0fb4cd
comparison
equal deleted inserted replaced
671:951bf1353641 672:627d2040c3ff
3 rev: v4.0.1 3 rev: v4.0.1
4 hooks: 4 hooks:
5 - id: check-yaml 5 - id: check-yaml
6 - id: end-of-file-fixer 6 - id: end-of-file-fixer
7 - id: trailing-whitespace 7 - id: trailing-whitespace
8 8
9 - repo: local 9 - repo: https://github.com/JohnnyMorganz/StyLua
10 rev: v0.15.0
10 hooks: 11 hooks:
11 - id: stylua 12 - id: stylua
12 name: Format with stylua
13 description: Formats lua files
14 entry: stylua
15 language: system
16 types: [lua]