Mercurial > dotfiles
diff .pre-commit-config.yaml @ 673:e258ef0fb4cd
Add prettier config (#1)
* Update .pre-commit-config.yaml
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
author | Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com> |
---|---|
date | Thu, 29 Sep 2022 23:03:11 +0200 |
parents | 627d2040c3ff |
children | 6c07661fbc1f |
line wrap: on
line diff
--- a/.pre-commit-config.yaml Thu Sep 29 22:32:44 2022 +0200 +++ b/.pre-commit-config.yaml Thu Sep 29 23:03:11 2022 +0200 @@ -5,8 +5,13 @@ - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - + - repo: https://github.com/JohnnyMorganz/StyLua rev: v0.15.0 hooks: - - id: stylua + - id: stylua + + - repo: https://github.com/pre-commit/mirrors-prettier + rev: v2.7.1 + hooks: + - id: prettier