From 63ce89b4c07c570a5d17c9a73f133a8dedc01731 Mon Sep 17 00:00:00 2001 From: Owen Barton Date: Wed, 11 Dec 2024 17:03:55 -0800 Subject: [PATCH] Switch from archived mirror repo and pin prettier version until spacing issue is figured out. --- .pre-commit-config.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b8a6266348..f45e3c5a45 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,8 +10,6 @@ repos: always_run: true pass_filenames: false verbose: true - - repo: local - hooks: - id: mkdocs name: mkdocs language: script @@ -19,8 +17,6 @@ repos: always_run: true pass_filenames: false verbose: true - - repo: local - hooks: - id: link-check name: link-check language: docker_image @@ -28,6 +24,12 @@ repos: types: [markdown] always_run: true pass_filenames: true + - id: prettier + name: prettier + entry: prettier --write --ignore-unknown + language: node + types: [text] + additional_dependencies: ["prettier@3.3.3"] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: @@ -54,10 +56,6 @@ repos: types: [markdown] args: - "--ignore-words=.config/codespell-ignore" - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.8 - hooks: - - id: prettier ci: # We skip checks that have their own actions or external dependencies. skip: [remark, codespell, mkdocs, link-check]