add prettier-plugin-sh

This commit is contained in:
Aminda Suomalainen 2024-06-08 09:07:10 +03:00
parent dd61149a0e
commit 41533ef82e
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 48 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{
"plugins": ["@prettier/plugin-xml"],
"plugins": ["@prettier/plugin-xml", "prettier-plugin-sh"],
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
}

3
package.json vendored
View File

@ -1,6 +1,7 @@
{
"devDependencies": {
"@prettier/plugin-xml": "3.4.1",
"prettier": "3.3.1"
"prettier": "3.3.1",
"prettier-plugin-sh": "0.14.0"
}
}

45
pnpm-lock.yaml vendored
View File

@ -13,6 +13,9 @@ importers:
prettier:
specifier: 3.3.1
version: 3.3.1
prettier-plugin-sh:
specifier: 0.14.0
version: 0.14.0(prettier@3.3.1)
packages:
"@prettier/plugin-xml@3.4.1":
@ -35,6 +38,21 @@ packages:
integrity: sha512-wy3mC1x4ye+O+QkEinVJkPf5u2vsrDIYW9G7ZuwFl6v/Yu0LwUuT2POsb+NUWApebyxfkQq6+yDfRExbnI5rcw==,
}
mvdan-sh@0.10.1:
resolution:
{
integrity: sha512-kMbrH0EObaKmK3nVRKUIIya1dpASHIEusM13S4V1ViHFuxuNxCo+arxoa6j/dbV22YBGjl7UKJm9QQKJ2Crzhg==,
}
prettier-plugin-sh@0.14.0:
resolution:
{
integrity: sha512-hfXulj5+zEl/ulrO5kMuuTPKmXvOg0bnLHY1hKFNN/N+/903iZbNp8NyZBTsgI8dtkSgFfAEIQq0IQTyP1ZVFQ==,
}
engines: { node: ">=16.0.0" }
peerDependencies:
prettier: ^3.0.3
prettier@3.3.1:
resolution:
{
@ -49,6 +67,19 @@ packages:
integrity: sha512-tlbJqcMHnPKI9zSrystikWKwHkBqu2a/Sgw01h3zFjvYrMxEDYHzzoMZnUrbIfpTFEsoRnnviOXNCzFiSc54Qw==,
}
sh-syntax@0.4.2:
resolution:
{
integrity: sha512-/l2UZ5fhGZLVZa16XQM9/Vq/hezGGbdHeVEA01uWjOL1+7Ek/gt6FquW0iKKws4a9AYPYvlz6RyVvjh3JxOteg==,
}
engines: { node: ">=16.0.0" }
tslib@2.6.3:
resolution:
{
integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==,
}
snapshots:
"@prettier/plugin-xml@3.4.1(prettier@3.3.1)":
dependencies:
@ -63,6 +94,20 @@ snapshots:
dependencies:
regexp-to-ast: 0.5.0
mvdan-sh@0.10.1: {}
prettier-plugin-sh@0.14.0(prettier@3.3.1):
dependencies:
mvdan-sh: 0.10.1
prettier: 3.3.1
sh-syntax: 0.4.2
prettier@3.3.1: {}
regexp-to-ast@0.5.0: {}
sh-syntax@0.4.2:
dependencies:
tslib: 2.6.3
tslib@2.6.3: {}