From c808635c075891091886e53f7338875f8057ad93 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 28 Aug 2023 20:44:57 +0300 Subject: [PATCH] .pre-commit-config.yaml: uncomment prettier additional-dependencies, add commented links --- .pre-commit-config.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3cc262f..872e054 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,12 +45,14 @@ repos: rev: "v3.0.2" hooks: - id: prettier - #additional_dependencies: - #[ - #"prettier@3.0.1", - #"@prettier/plugin-xml@3.0.0", - #"prettier-plugin-toml@1.0.0", - #] + additional_dependencies: [ + # https://www.npmjs.com/package/prettier + "prettier@3.0.2", + # https://www.npmjs.com/package/@prettier/plugin-xml + "@prettier/plugin-xml@3.2.0", + # https://www.npmjs.com/package/prettier-plugin-toml + "prettier-plugin-toml@1.0.0", + ] - repo: https://github.com/scop/pre-commit-shfmt rev: v3.7.0-1