From c4438792671c9031711cb98df6057a412315f39a Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 21 May 2023 11:15:07 +0300 Subject: [PATCH] .pre-commit-config.yaml: prettier: add xml plugin, specify version --- .pre-commit-config.yaml | 2 ++ index.html | 2 +- radio/bookmarks.xml | 35 ++++++++++++++++++++++++++++++++++- servers/etro/index.html | 2 +- 4 files changed, 38 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 12f6e6d..3b3bc9a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,6 +34,8 @@ repos: rev: "v3.0.0-alpha.9-for-vscode" hooks: - id: prettier + additional_dependencies: + ["prettier@2.8.8", "@prettier/plugin-xml@2.2.0"] - repo: https://github.com/scop/pre-commit-shfmt rev: v3.6.0-2 hooks: diff --git a/index.html b/index.html index 22da938..f4eeb66 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + diff --git a/radio/bookmarks.xml b/radio/bookmarks.xml index 7365a88..6da0539 100644 --- a/radio/bookmarks.xml +++ b/radio/bookmarks.xml @@ -1,4 +1,37 @@ - + diff --git a/servers/etro/index.html b/servers/etro/index.html index b3e12cb..580a9e3 100644 --- a/servers/etro/index.html +++ b/servers/etro/index.html @@ -1,4 +1,4 @@ - +