From ca629223f87bc621a0275120874d76e8e80f796e Mon Sep 17 00:00:00 2001 From: Tim Orme Date: Sun, 19 Mar 2023 14:48:16 -0700 Subject: [PATCH] Add elm format hook --- .pre-commit-config.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4ad9833..46cde30 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,4 +6,11 @@ repos: - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.1.1 hooks: - - id: mypy \ No newline at end of file + - id: mypy +- repo: local + hooks: + - id: elm-format + name: elm-format + entry: elm-format --yes + language: system + files: .*\.elm \ No newline at end of file