From 50943f7de8caa1746b85d3e156ab9bbdb46d7fab Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 11 Jun 2024 21:18:06 +0300 Subject: [PATCH] .pre-commit-config.yaml: remove online prettier --- .pre-commit-config.yaml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index be21023..c3b85a2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ # See https://pre-commit.com for more information # See https://pre-commit.ci for more information ci: - skip: [pnpm-prettier] + skip: [prettier] # I don't need so many duplicated notifications on the same thing as I keep # autoupdating manually too. Besides it just creates extra branch I never # touch. @@ -74,20 +74,9 @@ repos: - id: reuse exclude: ^.cache\/.*$ - # - repo: https://github.com/rbubley/mirrors-prettier - # rev: "v3.3.1" - # hooks: - # - id: prettier - # 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", - # ] - - repo: local hooks: - - id: pnpm-prettier + - id: prettier name: prettier entry: pnpm exec prettier --cache --ignore-unknown --write language: system