Mercurial > dotfiles
changeset 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 | 951bf1353641 |
children | e258ef0fb4cd |
files | .pre-commit-config.yaml |
diffstat | 1 files changed, 4 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/.pre-commit-config.yaml Wed Sep 28 16:04:50 2022 +0000 +++ b/.pre-commit-config.yaml Thu Sep 29 22:32:44 2022 +0200 @@ -5,12 +5,8 @@ - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - - - repo: local + + - repo: https://github.com/JohnnyMorganz/StyLua + rev: v0.15.0 hooks: - - id: stylua - name: Format with stylua - description: Formats lua files - entry: stylua - language: system - types: [lua] + - id: stylua