.pre-commit-config.yaml: remove online prettier

This commit is contained in:
Aminda Suomalainen 2024-06-11 21:18:06 +03:00
parent ce25b13dd0
commit 50943f7de8
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -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