diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 357590c..e401dd8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ ci: # the frequency of unnecessary PRs. # https://github.com/pre-commit-ci/issues/issues/83 autoupdate_schedule: quarterly - skip: [latexmk, exiftool] + skip: [latexmk, exiftool, prettier] repos: - repo: https://github.com/pre-commit/pre-commit-hooks @@ -67,19 +67,13 @@ repos: #- id: check-github-workflows - id: check-gitlab-ci - - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.3.0" + - repo: local hooks: - id: prettier + name: prettier + entry: pnpm exec prettier --cache --ignore-unknown --write + language: system exclude_types: [json] - additional_dependencies: [ - # https://www.npmjs.com/package/prettier - "prettier@3.3.1", - # https://www.npmjs.com/package/@prettier/plugin-xml - "@prettier/plugin-xml@3.4.1", - # https://www.npmjs.com/package/prettier-plugin-toml - "prettier-plugin-toml@2.0.1", - ] - repo: https://github.com/scop/pre-commit-shfmt rev: v3.8.0-1