comparison .pre-commit-config.yaml @ 414:7004867c436c

Add pre-commit
author zegervdv <zegervdv@me.com>
date Sun, 18 Jul 2021 10:05:02 +0200
parents
children 627d2040c3ff
comparison
equal deleted inserted replaced
413:32f1aecb9d01 414:7004867c436c
1 repos:
2 - repo: https://github.com/pre-commit/pre-commit-hooks
3 rev: v4.0.1
4 hooks:
5 - id: check-yaml
6 - id: end-of-file-fixer
7 - id: trailing-whitespace
8
9 - repo: local
10 hooks:
11 - id: stylua
12 name: Format with stylua
13 description: Formats lua files
14 entry: stylua
15 language: system
16 types: [lua]