Add stylua hook

This commit is contained in:
ViViDboarder 2021-12-15 09:37:19 -08:00
parent 24b740fe86
commit d9a1d9b799
1 changed files with 7 additions and 2 deletions

View File

@ -1,12 +1,12 @@
--- ---
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0 rev: v4.0.1
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer
- repo: https://github.com/Kuniwak/vint - repo: https://github.com/Kuniwak/vint
rev: 9a239b20be279324ced3b34ed71f84a63edfd4fb rev: v0.4a3
hooks: hooks:
- id: vint - id: vint
exclude: > exclude: >
@ -24,3 +24,8 @@ repos:
- -- - --
language: system language: system
types: [file, lua] types: [file, lua]
- repo: https://github.com/IamTheFij/StyLua
rev: pre-commit-hook
hooks:
- id: stylua
args: ["--indent-type", "Spaces"]