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]